Also add a single small stub for the Memcached class constructor that is slightly wrong in the phpstorm stubs library. jetbrains/phpstorm-stubs has been added to packagist via: https://github.com/JetBrains/phpstorm-stubs/pull/149 Change-Id: I1bca7390d1dc24c38d65c1c8968f356326ff4636
16 lines
444 B
PHP
16 lines
444 B
PHP
<?php
|
|
|
|
/**
|
|
* The phpstorm stubs package includes the Memcached class with two parameters and docs saying
|
|
* that they are optional. Phan can not detect this and thus throws an error for a usage with
|
|
* no params. So we have this small stub just for the constructor to allow no params.
|
|
* @see https://secure.php.net/manual/en/memcached.construct.php
|
|
* @codingStandardsIgnoreFile
|
|
*/
|
|
|
|
class Memcached {
|
|
|
|
public function __construct() {
|
|
}
|
|
|
|
}
|