PluginProbe
Authorizer / 3.9.1
Authorizer v3.9.1
3.16.0 3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 All 127 releases
← All changes | vendor/psr/cache/src/CacheItemPoolInterface.php +12 -12 3.14.13.9.1 View file →
@@ -28,9 +28,9 @@
28 28 *
29 29 * @return CacheItemInterface
30 30 * The corresponding Cache Item.
31 31 */
32 - public function getItem(string $key): CacheItemInterface;
32 + public function getItem($key);
33 33
34 34 /**
35 35 * Returns a traversable set of cache items.
36 36 *
@@ -40,15 +40,15 @@
40 40 * @throws InvalidArgumentException
41 41 * If any of the keys in $keys are not a legal value a \Psr\Cache\InvalidArgumentException
42 42 * MUST be thrown.
43 43 *
44 - * @return iterable
45 - * An iterable collection of Cache Items keyed by the cache keys of
44 + * @return array|\Traversable
45 + * A traversable collection of Cache Items keyed by the cache keys of
46 46 * each item. A Cache item will be returned for each key, even if that
47 47 * key is not found. However, if no keys are specified then an empty
48 48 * traversable MUST be returned instead.
49 49 */
50 - public function getItems(array $keys = []): iterable;
50 + public function getItems(array $keys = array());
51 51
52 52 /**
53 53 * Confirms if the cache contains specified cache item.
54 54 *
@@ -65,9 +65,9 @@
65 65 *
66 66 * @return bool
67 67 * True if item exists in the cache, false otherwise.
68 68 */
69 - public function hasItem(string $key): bool;
69 + public function hasItem($key);
70 70
71 71 /**
72 72 * Deletes all items in the pool.
73 73 *
@@ -73,9 +73,9 @@
73 73 *
74 74 * @return bool
75 75 * True if the pool was successfully cleared. False if there was an error.
76 76 */
77 - public function clear(): bool;
77 + public function clear();
78 78
79 79 /**
80 80 * Removes the item from the pool.
81 81 *
@@ -88,9 +88,9 @@
88 88 *
89 89 * @return bool
90 90 * True if the item was successfully removed. False if there was an error.
91 91 */
92 - public function deleteItem(string $key): bool;
92 + public function deleteItem($key);
93 93
94 94 /**
95 95 * Removes multiple items from the pool.
96 96 *
@@ -95,9 +95,9 @@
95 95 * Removes multiple items from the pool.
96 96 *
97 97 * @param string[] $keys
98 98 * An array of keys that should be removed from the pool.
99 - *
99 +
100 100 * @throws InvalidArgumentException
101 101 * If any of the keys in $keys are not a legal value a \Psr\Cache\InvalidArgumentException
102 102 * MUST be thrown.
103 103 *
@@ -103,9 +103,9 @@
103 103 *
104 104 * @return bool
105 105 * True if the items were successfully removed. False if there was an error.
106 106 */
107 - public function deleteItems(array $keys): bool;
107 + public function deleteItems(array $keys);
108 108
109 109 /**
110 110 * Persists a cache item immediately.
111 111 *
@@ -114,9 +114,9 @@
114 114 *
115 115 * @return bool
116 116 * True if the item was successfully persisted. False if there was an error.
117 117 */
118 - public function save(CacheItemInterface $item): bool;
118 + public function save(CacheItemInterface $item);
119 119
120 120 /**
121 121 * Sets a cache item to be persisted later.
122 122 *
@@ -125,9 +125,9 @@
125 125 *
126 126 * @return bool
127 127 * False if the item could not be queued or if a commit was attempted and failed. True otherwise.
128 128 */
129 - public function saveDeferred(CacheItemInterface $item): bool;
129 + public function saveDeferred(CacheItemInterface $item);
130 130
131 131 /**
132 132 * Persists any deferred cache items.
133 133 *
@@ -133,6 +133,6 @@
133 133 *
134 134 * @return bool
135 135 * True if all not-yet-saved items were successfully saved or there were none. False otherwise.
136 136 */
137 - public function commit(): bool;
137 + public function commit();
138 138 }