Skip to content

Commit b820214

Browse files
Fixed ParseError in stub file (#468)
Match PHP 7 version of the file which has NULL as the default value of this bool argument.
1 parent fc33513 commit b820214

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: php_memcached.stub.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ public function get(string $key, callable $cache_cb=NULL, int $get_flags=0): mix
1717
public function getByKey(string $server_key, string $key, callable $cache_cb=NULL, int $get_flags=0): mixed {}
1818
public function getMulti(array $keys, int $get_flags=0): false|array {}
1919
public function getMultiByKey(string $server_key, array $keys, int $get_flags=0): false|array {}
20-
public function getDelayed(array $keys, bool $with_cas=0, callable $value_cb=NULL): bool {}
21-
public function getDelayedByKey(string $server_key, array $keys, bool $with_cas=0, callable $value_cb=NULL): bool {}
20+
public function getDelayed(array $keys, bool $with_cas=NULL, callable $value_cb=NULL): bool {}
21+
public function getDelayedByKey(string $server_key, array $keys, bool $with_cas=NULL, callable $value_cb=NULL): bool {}
2222
public function fetch(): false|array {}
2323
public function fetchAll(): false|array {}
2424

0 commit comments

Comments
 (0)