Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,10 @@ abstract class BaseFunction extends FunctionNode

/**
* This method is meant for internal use only, and it is not suggested that the forks of the library depend on it.
* It will be made abstract from version 3.0.
*
* @internal
*
* @see customiseFunction()
*/
/* abstract */
protected function customizeFunction(): void
{
// Void
}

/**
* @deprecated
*/
protected function customiseFunction(): void
{
\trigger_error('The internal-use method of `customiseFunction()` is deprecated and is now renamed to `customizeFunction()`. `customiseFunction()` will be removed from version 3.0 onwards.', E_USER_DEPRECATED);
$this->customizeFunction();
}
abstract protected function customizeFunction(): void;

protected function setFunctionPrototype(string $functionPrototype): void
{
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading