[phpstorm-stubs] fix cs-fixer errors

This commit is contained in:
Ivan Fedorov 2023-12-15 20:42:51 +01:00
parent 06af30faea
commit 92dda01179
10 changed files with 68 additions and 116 deletions

View File

@ -470,8 +470,7 @@ function mktime(
?int $month = null,
?int $day = null,
?int $year = null,
#[Deprecated('Use the new timezone handling functions instead', since: '5.3')]
#[PhpStormStubsElementAvailable(from: '5.5', to: '5.6')] $is_dst = -1
#[Deprecated('Use the new timezone handling functions instead', since: '5.3')] #[PhpStormStubsElementAvailable(from: '5.5', to: '5.6')] int $is_dst = -1
): int|false {}
/**

View File

@ -18,12 +18,8 @@ function ftp_append(
#[LanguageLevelTypeAware(['8.1' => 'FTP\Connection'], default: 'resource')] $ftp,
string $remote_filename,
string $local_filename,
#[EV([FTP_ASCII, FTP_BINARY])]
#[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')]
int $mode,
#[EV([FTP_ASCII, FTP_BINARY])]
#[PhpStormStubsElementAvailable(from: '7.3')]
int $mode = FTP_BINARY
#[EV([FTP_ASCII, FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')] int $mode,
#[EV([FTP_ASCII, FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '7.3')] int $mode = FTP_BINARY
): bool {}
/**
@ -306,12 +302,8 @@ function ftp_get(
#[LanguageLevelTypeAware(['8.1' => 'FTP\Connection'], default: 'resource')] $ftp,
string $local_filename,
string $remote_filename,
#[EV([FTP_ASCII, FTP_BINARY])]
#[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')]
int $mode,
#[EV([FTP_ASCII, FTP_BINARY])]
#[PhpStormStubsElementAvailable(from: '7.3')]
int $mode = FTP_BINARY,
#[EV([FTP_ASCII, FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')] int $mode,
#[EV([FTP_ASCII, FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '7.3')] int $mode = FTP_BINARY,
int $offset = 0
): bool {}
@ -339,12 +331,8 @@ function ftp_fget(
#[LanguageLevelTypeAware(['8.1' => 'FTP\Connection'], default: 'resource')] $ftp,
$stream,
string $remote_filename,
#[EV([FTP_ASCII, FTP_BINARY])]
#[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')]
int $mode,
#[EV([FTP_ASCII, FTP_BINARY])]
#[PhpStormStubsElementAvailable(from: '7.3')]
int $mode = FTP_BINARY,
#[EV([FTP_ASCII, FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')] int $mode,
#[EV([FTP_ASCII, FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '7.3')] int $mode = FTP_BINARY,
int $offset = 0
): bool {}
@ -370,12 +358,8 @@ function ftp_put(
#[LanguageLevelTypeAware(['8.1' => 'FTP\Connection'], default: 'resource')] $ftp,
string $remote_filename,
string $local_filename,
#[EV([FTP_ASCII, FTP_BINARY])]
#[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')]
int $mode,
#[EV([FTP_ASCII, FTP_BINARY])]
#[PhpStormStubsElementAvailable(from: '7.3')]
int $mode = FTP_BINARY,
#[EV([FTP_ASCII, FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')] int $mode,
#[EV([FTP_ASCII, FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '7.3')] int $mode = FTP_BINARY,
int $offset = 0
): bool {}
@ -401,12 +385,8 @@ function ftp_fput(
#[LanguageLevelTypeAware(['8.1' => 'FTP\Connection'], default: 'resource')] $ftp,
string $remote_filename,
$stream,
#[EV([FTP_ASCII, FTP_BINARY])]
#[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')]
int $mode,
#[EV([FTP_ASCII, FTP_BINARY])]
#[PhpStormStubsElementAvailable(from: '7.3')]
int $mode = FTP_BINARY,
#[EV([FTP_ASCII, FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')] int $mode,
#[EV([FTP_ASCII, FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '7.3')] int $mode = FTP_BINARY,
int $offset = 0
): bool {}
@ -584,12 +564,8 @@ function ftp_nb_fget(
#[LanguageLevelTypeAware(['8.1' => 'FTP\Connection'], default: 'resource')] $ftp,
$stream,
string $remote_filename,
#[EV([FTP_ASCII, FTP_BINARY])]
#[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')]
int $mode,
#[EV([FTP_ASCII, FTP_BINARY])]
#[PhpStormStubsElementAvailable(from: '7.3')]
int $mode = FTP_BINARY,
#[EV([FTP_ASCII, FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')] int $mode,
#[EV([FTP_ASCII, FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '7.3')] int $mode = FTP_BINARY,
int $offset = 0
): int {}
@ -618,12 +594,8 @@ function ftp_nb_get(
#[LanguageLevelTypeAware(['8.1' => 'FTP\Connection'], default: 'resource')] $ftp,
string $local_filename,
string $remote_filename,
#[EV([FTP_ASCII, FTP_BINARY])]
#[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')]
int $mode,
#[EV([FTP_ASCII, FTP_BINARY])]
#[PhpStormStubsElementAvailable(from: '7.3')]
int $mode = FTP_BINARY,
#[EV([FTP_ASCII, FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')] int $mode,
#[EV([FTP_ASCII, FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '7.3')] int $mode = FTP_BINARY,
int $offset = 0
) {}
@ -663,12 +635,8 @@ function ftp_nb_put(
#[LanguageLevelTypeAware(['8.1' => 'FTP\Connection'], default: 'resource')] $ftp,
string $remote_filename,
string $local_filename,
#[EV([FTP_ASCII, FTP_BINARY])]
#[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')]
int $mode,
#[EV([FTP_ASCII, FTP_BINARY])]
#[PhpStormStubsElementAvailable(from: '7.3')]
int $mode = FTP_BINARY,
#[EV([FTP_ASCII, FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')] int $mode,
#[EV([FTP_ASCII, FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '7.3')] int $mode = FTP_BINARY,
int $offset = 0
): int|false {}
@ -696,12 +664,8 @@ function ftp_nb_fput(
#[LanguageLevelTypeAware(['8.1' => 'FTP\Connection'], default: 'resource')] $ftp,
string $remote_filename,
$stream,
#[EV([FTP_ASCII, FTP_BINARY])]
#[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')]
int $mode,
#[EV([FTP_ASCII, FTP_BINARY])]
#[PhpStormStubsElementAvailable(from: '7.3')]
int $mode = FTP_BINARY,
#[EV([FTP_ASCII, FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')] int $mode,
#[EV([FTP_ASCII, FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '7.3')] int $mode = FTP_BINARY,
int $offset = 0
): int {}

View File

@ -156,7 +156,7 @@ class Client implements \SplSubject, \Countable
* @throws \http\Exception\RuntimeException
* @return \http\Client self.
*/
public function dequeue(http\Client\Request $request) {}
public function dequeue(Client\Request $request) {}
/**
* Implements SplSubject. Detach $observer, which has been previously attached.
@ -214,7 +214,7 @@ class Client implements \SplSubject, \Countable
* @throws \http\Exception\RuntimeException
* @return \http\Client self.
*/
public function enqueue(http\Client\Request $request, callable $cb = null) {}
public function enqueue(Client\Request $request, callable $cb = null) {}
/**
* Get a list of available configuration options and their default values.
@ -288,7 +288,7 @@ class Client implements \SplSubject, \Countable
* @return object|null object stdClass instance holding progress information.
* or NULL if $request is not enqueued.
*/
public function getProgressInfo(http\Client\Request $request) {}
public function getProgressInfo(Client\Request $request) {}
/**
* Retrieve the corresponding response of an already finished request, or the last received response if $request is not set.
@ -302,7 +302,7 @@ class Client implements \SplSubject, \Countable
* @return \http\Client\Response|null \http\Client\Response the stored response for the request, or the last that was received.
* or NULL if no more response was available to pop, when no $request was given.
*/
public function getResponse(http\Client\Request $request = null) {}
public function getResponse(Client\Request $request = null) {}
/**
* Retrieve priorly set SSL options.
@ -320,7 +320,7 @@ class Client implements \SplSubject, \Countable
* @throws \http\Exception\UnexpectedValueException
* @return object stdClass instance holding transfer related information.
*/
public function getTransferInfo(http\Client\Request $request) {}
public function getTransferInfo(Client\Request $request) {}
/**
* Implements SplSubject. Notify attached observers about progress with $request.
@ -331,7 +331,7 @@ class Client implements \SplSubject, \Countable
* @throws \http\Exception\UnexpectedValueException
* @return \http\Client self.
*/
public function notify(http\Client\Request $request = null, $progress = null) {}
public function notify(Client\Request $request = null, $progress = null) {}
/**
* Perform outstanding transfer actions.
@ -353,7 +353,7 @@ class Client implements \SplSubject, \Countable
* @throws \http\Exception\RuntimeException
* @return \http\Client self.
*/
public function requeue(http\Client\Request $request, callable $cb = null) {}
public function requeue(Client\Request $request, callable $cb = null) {}
/**
* Reset the client to the initial state.
@ -1106,7 +1106,7 @@ class Message implements \Countable, \Serializable, \Iterator
* @param \http\Message\Body $body The message body to add.
* @return \http\Message self.
*/
public function addBody(http\Message\Body $body) {}
public function addBody(Message\Body $body) {}
/**
* Add an header, appending to already existing headers.
@ -1294,7 +1294,7 @@ class Message implements \Countable, \Serializable, \Iterator
* @throws \http\Exception\UnexpectedValueException
* @return \http\Message self.
*/
public function prepend(http\Message $message, bool $top = true) {}
public function prepend(Message $message, bool $top = true) {}
/**
* Reverse the message chain and return the former top-most message.
@ -1330,7 +1330,7 @@ class Message implements \Countable, \Serializable, \Iterator
* @throws \http\Exception\UnexpectedValueException
* @return \http\Message self.
*/
public function setBody(http\Message\Body $body) {}
public function setBody(Message\Body $body) {}
/**
* Set a single header.

View File

@ -434,9 +434,7 @@ class Collator
#[Pure]
#[TentativeType]
public function getLocale(
#[LanguageAware(['8.0' => 'int'], default: '')]
#[EV([Locale::VALID_LOCALE, Locale::ACTUAL_LOCALE])]
$type
#[LanguageAware(['8.0' => 'int'], default: '')] #[EV([Locale::VALID_LOCALE, Locale::ACTUAL_LOCALE])] $type
): string|false {}
/**
@ -2126,9 +2124,7 @@ class IntlDateFormatter
#[Pure]
#[TentativeType]
public function getLocale(
#[ElementAvailable(from: '8.0')]
#[LanguageAware(['8.0' => 'int'], default: '')]
$type = 0
#[ElementAvailable(from: '8.0')] #[LanguageAware(['8.0' => 'int'], default: '')] $type = 0
): string|false {}
/**
@ -7249,9 +7245,7 @@ class IntlBreakIterator implements IteratorAggregate
#[Pure]
#[TentativeType]
public function getPartsIterator(
#[LanguageAware(['8.3' => 'string', '8.0' => 'int'], default: '')]
#[EV([IntlPartsIterator::KEY_SEQUENTIAL, IntlPartsIterator::KEY_LEFT, IntlPartsIterator::KEY_RIGHT])]
$type = IntlPartsIterator::KEY_SEQUENTIAL
#[LanguageAware(['8.3' => 'string', '8.0' => 'int'], default: '')] #[EV([IntlPartsIterator::KEY_SEQUENTIAL, IntlPartsIterator::KEY_LEFT, IntlPartsIterator::KEY_RIGHT])] $type = IntlPartsIterator::KEY_SEQUENTIAL
): IntlPartsIterator {}
/**

View File

@ -1425,7 +1425,7 @@ function ldap_count_references(
/**
* @since 8.3
*/
function ldap_exop_sync(LDAP\Connection $ldap, string $request_oid, ?string $request_data = null, ?array $controls = null, &$response_data = null, &$response_oid = null): LDAP\Result|bool {}
function ldap_exop_sync(LDAP\Connection $ldap, string $request_oid, ?string $request_data = null, ?array $controls = null, &$response_data = null, &$response_oid = null): Result|bool {}
define('LDAP_ESCAPE_FILTER', 1);
define('LDAP_ESCAPE_DN', 2);

View File

@ -76,7 +76,7 @@ class COPY
* @throws \pq\Exception\BadMethodCallException
* @throws \pq\Exception\RuntimeException
*/
public function __construct(pq\Connection $conn, string $expression, int $direction, string $options = null) {}
public function __construct(Connection $conn, string $expression, int $direction, string $options = null) {}
/**
* End the COPY operation to the server during pq\Result::COPY_IN state.
@ -131,7 +131,7 @@ class Cancel
* @throws \pq\Exception\BadMethodCallException
* @throws \pq\Exception\RuntimeException
*/
public function __construct(pq\Connection $conn) {}
public function __construct(Connection $conn) {}
/**
* Perform the cancellation request.
@ -741,7 +741,7 @@ class Connection
* @throws \pq\Exception\InvalidArgumentException
* @throws \pq\Exception\BadMethodCallException
*/
public function setConverter(pq\Converter $converter) {}
public function setConverter(Converter $converter) {}
/**
* Begin a transaction.
@ -837,7 +837,7 @@ class Connection
* @throws \pq\Exception\InvalidArgumentException
* @throws \pq\Exception\BadMethodCallException
*/
public function unsetConverter(pq\Converter $converter) {}
public function unsetConverter(Converter $converter) {}
}
/**
* Interface for type conversions.
@ -933,7 +933,7 @@ class Cursor
* @throws \pq\Exception\BadMethodCallException
* @throws \pq\Exception\RuntimeException
*/
public function __construct(pq\Connection $connection, string $name, int $flags, string $query, bool $async) {}
public function __construct(Connection $connection, string $name, int $flags, string $query, bool $async) {}
/**
* Close an open cursor.
@ -1170,7 +1170,7 @@ class LOB
* @throws \pq\Exception\BadMethodCallException
* @throws \pq\Exception\RuntimeException
*/
public function __construct(pq\Transaction $txn, int $oid = \pq\LOB::INVALID_OID, int $mode = \pq\LOB::RW) {}
public function __construct(Transaction $txn, int $oid = \pq\LOB::INVALID_OID, int $mode = \pq\LOB::RW) {}
/**
* Read a string of data from the current position of the *large object*.
@ -1577,7 +1577,7 @@ class Statement
* @throws \pq\Exception\RuntimeException
* @throws \pq\Exception\DomainException
*/
public function __construct(pq\Connection $conn, string $name, string $query, array $types = null, bool $async = false) {}
public function __construct(Connection $conn, string $name, string $query, array $types = null, bool $async = false) {}
/**
* Bind a variable to an input parameter.
@ -1744,7 +1744,7 @@ class Transaction
* @throws \pq\Exception\BadMethodCallException
* @throws \pq\Exception\RuntimeException
*/
public function __construct(pq\Connection $conn, bool $async = false, int $isolation = \pq\Transaction::READ_COMMITTED, bool $readonly = false, bool $deferrable = false) {}
public function __construct(Connection $conn, bool $async = false, int $isolation = \pq\Transaction::READ_COMMITTED, bool $readonly = false, bool $deferrable = false) {}
/**
* Commit the transaction or release the previous savepoint.
@ -2706,7 +2706,7 @@ class Types implements \ArrayAccess
* @throws \pq\Exception\BadMethodCallException
* @throws \pq\Exception\RuntimeException
*/
public function __construct(pq\Connection $conn, array $namespaces = null) {}
public function __construct(Connection $conn, array $namespaces = null) {}
/**
* Refresh type information from `pg_type`.

View File

@ -419,8 +419,7 @@ class Relay
int $port = 6379,
float $connect_timeout = 0.0,
float $command_timeout = 0.0,
#[\SensitiveParameter]
array $context = [],
#[\SensitiveParameter] array $context = [],
int $database = 0,
) {}
@ -446,8 +445,7 @@ class Relay
?string $persistent_id = null,
int $retry_interval = 0,
float $read_timeout = 0.0,
#[\SensitiveParameter]
array $context = [],
#[\SensitiveParameter] array $context = [],
int $database = 0
): bool {}
@ -472,8 +470,7 @@ class Relay
?string $persistent_id = null,
int $retry_interval = 0,
float $read_timeout = 0.0,
#[\SensitiveParameter]
array $context = [],
#[\SensitiveParameter] array $context = [],
int $database = 0
): bool {}
@ -1019,8 +1016,7 @@ class Relay
int $timeout,
bool $copy = false,
bool $replace = false,
#[\SensitiveParameter]
mixed $credentials = null
#[\SensitiveParameter] mixed $credentials = null
): Relay|bool {}
/**

View File

@ -46,8 +46,7 @@ class Sentinel
mixed $persistent = null,
int $retry_interval = 0,
float $read_timeout = 0,
#[\SensitiveParameter]
mixed $auth = null
#[\SensitiveParameter] mixed $auth = null
) {}
/**

View File

@ -27,7 +27,7 @@ class ReflectionClassesTestDataProviders
{
foreach (EntitiesFilter::getFiltered(
ReflectionStubsSingleton::getReflectionStubs()->getClasses(),
fn(PHPClass $class) => empty($class->interfaces),
fn (PHPClass $class) => empty($class->interfaces),
StubProblemType::WRONG_INTERFACE
) as $class) {
//exclude classes from PHPReflectionParser
@ -43,7 +43,7 @@ class ReflectionClassesTestDataProviders
ReflectionStubsSingleton::getReflectionStubs()->getInterfaces();
$filtered = EntitiesFilter::getFiltered(
$classesAndInterfaces,
fn($class) => empty($class->parentInterfaces) && empty($class->parentClass),
fn ($class) => empty($class->parentInterfaces) && empty($class->parentClass),
StubProblemType::WRONG_PARENT
);
foreach ($filtered as $class) {
@ -70,7 +70,7 @@ class ReflectionClassesTestDataProviders
$classes = ReflectionStubsSingleton::getReflectionStubs()->getClasses();
$filtered = EntitiesFilter::getFiltered(
$classes,
fn(PhpClass $class) => $class->isReadonly === false,
fn (PhpClass $class) => $class->isReadonly === false,
StubProblemType::WRONG_READONLY
);
if (empty($filtered)) {

View File

@ -167,7 +167,7 @@ final class Application
* @param \Yaf\Bootstrap_Abstract $bootstrap A \Yaf\Bootstrap_Abstract instance
* @return \Yaf\Application
*/
public function bootstrap(Yaf\Bootstrap_Abstract $bootstrap = null) {}
public function bootstrap(Bootstrap_Abstract $bootstrap = null) {}
/**
* @link https://secure.php.net/manual/en/yaf-application.getconfig.php
@ -374,7 +374,7 @@ final class Dispatcher
* @param \Yaf\View_Interface $view A \Yaf\View_Interface instance
* @return \Yaf\Dispatcher
*/
public function setView(Yaf\View_Interface $view) {}
public function setView(View_Interface $view) {}
/**
* @link https://secure.php.net/manual/en/yaf-dispatcher.setrequest.php
@ -382,7 +382,7 @@ final class Dispatcher
* @param \Yaf\Request_Abstract $request
* @return \Yaf\Dispatcher
*/
public function setRequest(Yaf\Request_Abstract $request) {}
public function setRequest(Request_Abstract $request) {}
/**
* Retrieve the \Yaf\Application instance. same as \Yaf\Application::app().
@ -509,7 +509,7 @@ final class Dispatcher
*
* @return \Yaf\Response_Abstract
*/
public function dispatch(Yaf\Request_Abstract $request) {}
public function dispatch(Request_Abstract $request) {}
/**
* <p>Switch on/off exception throwing while unexpected error occurring. When this is on, Yaf will throwing exceptions instead of triggering catchable errors.</p><br/>
@ -541,7 +541,7 @@ final class Dispatcher
* @param \Yaf\Plugin_Abstract $plugin
* @return \Yaf\Dispatcher
*/
public function registerPlugin(Yaf\Plugin_Abstract $plugin) {}
public function registerPlugin(Plugin_Abstract $plugin) {}
}/**
* <p><b>\Yaf\Loader</b> introduces a comprehensive autoloading solution for Yaf.</p>
* <br/>
@ -951,7 +951,7 @@ class Router
*
* @return \Yaf\Router|false return FALSE on failure
*/
public function addRoute($name, Yaf\Route_Interface $route) {}
public function addRoute($name, Route_Interface $route) {}
/**
* <p>Add routes defined by configs into \Yaf\Router's route stack</p>
@ -962,7 +962,7 @@ class Router
*
* @return \Yaf\Router|false return FALSE on failure
*/
public function addConfig(Yaf\Config_Abstract $config) {}
public function addConfig(Config_Abstract $config) {}
/**
* @link https://secure.php.net/manual/en/yaf-router.route.php
@ -971,7 +971,7 @@ class Router
*
* @return \Yaf\Router|false return FALSE on failure
*/
public function route(Yaf\Request_Abstract $request) {}
public function route(Request_Abstract $request) {}
/**
* <p>Retrieve a route by name, see also \Yaf\Router::getCurrentRoute()</p>
@ -1211,7 +1211,7 @@ abstract class Controller_Abstract
* @param \Yaf\View_Interface $view
* @param array $invokeArgs
*/
final public function __construct(Yaf\Request_Abstract $request, Yaf\Response_Abstract $response, Yaf\View_Interface $view, array $invokeArgs = null) {}
final public function __construct(Request_Abstract $request, Response_Abstract $response, View_Interface $view, array $invokeArgs = null) {}
/**
* @link https://secure.php.net/manual/en/yaf-controller-abstract.clone.php
@ -1615,7 +1615,7 @@ abstract class Plugin_Abstract
*
* @return bool true
*/
public function routerStartup(Yaf\Request_Abstract $request, Yaf\Response_Abstract $response) {}
public function routerStartup(Request_Abstract $request, Response_Abstract $response) {}
/**
* This hook will be trigged after the route process finished, this hook is usually used for login check.
@ -1627,7 +1627,7 @@ abstract class Plugin_Abstract
*
* @return bool true
*/
public function routerShutdown(Yaf\Request_Abstract $request, Yaf\Response_Abstract $response) {}
public function routerShutdown(Request_Abstract $request, Response_Abstract $response) {}
/**
* @link https://secure.php.net/manual/en/yaf-plugin-abstract.dispatchloopstartup.php
@ -1637,7 +1637,7 @@ abstract class Plugin_Abstract
*
* @return bool true
*/
public function dispatchLoopStartup(Yaf\Request_Abstract $request, Yaf\Response_Abstract $response) {}
public function dispatchLoopStartup(Request_Abstract $request, Response_Abstract $response) {}
/**
* This is the latest hook in Yaf plugin hook system, if a custom plugin implement this method, then it will be called after the dispatch loop finished.
@ -1649,7 +1649,7 @@ abstract class Plugin_Abstract
*
* @return bool true
*/
public function dispatchLoopShutdown(Yaf\Request_Abstract $request, Yaf\Response_Abstract $response) {}
public function dispatchLoopShutdown(Request_Abstract $request, Response_Abstract $response) {}
/**
* @link https://secure.php.net/manual/en/yaf-plugin-abstract.predispatch.php
@ -1659,7 +1659,7 @@ abstract class Plugin_Abstract
*
* @return bool true
*/
public function preDispatch(Yaf\Request_Abstract $request, Yaf\Response_Abstract $response) {}
public function preDispatch(Request_Abstract $request, Response_Abstract $response) {}
/**
* @link https://secure.php.net/manual/en/yaf-plugin-abstract.postdispatch.php
@ -1669,7 +1669,7 @@ abstract class Plugin_Abstract
*
* @return bool true
*/
public function postDispatch(Yaf\Request_Abstract $request, Yaf\Response_Abstract $response) {}
public function postDispatch(Request_Abstract $request, Response_Abstract $response) {}
/**
* @link https://secure.php.net/manual/en/yaf-plugin-abstract.preresponse.php
@ -1679,7 +1679,7 @@ abstract class Plugin_Abstract
*
* @return bool true
*/
public function preResponse(Yaf\Request_Abstract $request, Yaf\Response_Abstract $response) {}
public function preResponse(Request_Abstract $request, Response_Abstract $response) {}
}/**
* @link https://secure.php.net/manual/en/class.yaf-response-abstract.php
*/
@ -1867,7 +1867,7 @@ interface Route_Interface
* @param \Yaf\Request_Abstract $request
* @return bool
*/
public function route(Yaf\Request_Abstract $request);
public function route(Request_Abstract $request);
/**
* <p><b>\Yaf\Route_Interface::assemble()</b> - assemble a request</p><br/>
@ -1913,7 +1913,7 @@ class Route_Static implements \Yaf\Route_Interface
*
* @return bool always TRUE
*/
public function route(Yaf\Request_Abstract $request) {}
public function route(Request_Abstract $request) {}
/**
* <p><b>\Yaf\Route_Static::assemble()</b> - Assemble a url</p>