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);
2929 * @param array $keys
3030 *
3131 * @return Promise
32+ * @throws \InvalidArgumentException
3233 */
3334 public function loadMany (array $ keys );
3435
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ private function validateCacheOption($shouldCache)
100100 */
101101 private function validateMaxBatchSizeOption ($ maxBatchSize )
102102 {
103- if ($ maxBatchSize !== null && ! \is_int ($ maxBatchSize ) || (int ) $ maxBatchSize < 0 ) {
103+ if (( $ maxBatchSize !== null && ! \is_int ($ maxBatchSize) ) || (int ) $ maxBatchSize < 0 ) {
104104 throw new \InvalidArgumentException ('Expected argument $maxBatchSize to be null or a positive integer ' );
105105 }
106106 }
You can’t perform that action at this time.
0 commit comments