memcached.php 434 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * The phpstorm stubs package includes the Memcached class with two parameters and docs saying
  4. * that they are optional. Phan can not detect this and thus throws an error for a usage with
  5. * no params. So we have this small stub just for the constructor to allow no params.
  6. * @see https://secure.php.net/manual/en/memcached.construct.php
  7. * phpcs:ignoreFile
  8. */
  9. class Memcached {
  10. public function __construct() {
  11. }
  12. }