File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ public function load($key);
29
29
* @param array $keys
30
30
*
31
31
* @return Promise
32
+ * @throws \InvalidArgumentException
32
33
*/
33
34
public function loadMany (array $ keys );
34
35
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ private function validateCacheOption($shouldCache)
100
100
*/
101
101
private function validateMaxBatchSizeOption ($ maxBatchSize )
102
102
{
103
- if ($ maxBatchSize !== null && ! \is_int ($ maxBatchSize ) || (int ) $ maxBatchSize < 0 ) {
103
+ if (( $ maxBatchSize !== null && ! \is_int ($ maxBatchSize) ) || (int ) $ maxBatchSize < 0 ) {
104
104
throw new \InvalidArgumentException ('Expected argument $maxBatchSize to be null or a positive integer ' );
105
105
}
106
106
}
You can’t perform that action at this time.
0 commit comments