summaryrefslogtreecommitdiff
path: root/www/wiki/tests/phan/stubs/memcached.php
blob: 0f8859d2e11f5facdb58a79ca767af4e2634d6f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?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
 * phpcs:ignoreFile
 */

class Memcached {

	public function __construct() {
	}

}