Skip to content

Commit a95eedd

Browse files
author
Martynas Kasparavicius
committed
resolve styleci issues
1 parent 4d20949 commit a95eedd

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/DataLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ private function validateBatchPromiseOutput($values, $keys): void
273273
/**
274274
* Validates the batch promise returned from the batch load function.
275275
*
276-
* @param $batchPromise
276+
* @param $batchPromise
277277
*
278278
* @throws DataLoaderException
279279
*/

tests/Unit/DataLoaderAbuseTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use React\EventLoop\Loop;
1010
use React\EventLoop\LoopInterface;
1111
use React\Promise\Promise;
12+
1213
use function React\Promise\resolve;
1314

1415
class DataLoaderAbuseTest extends TestCase
@@ -209,8 +210,8 @@ public function batch_function_must_promise_an_array_of_correct_length()
209210
/**
210211
* Creates a simple DataLoader.
211212
*
212-
* @param $batchLoadFunction
213-
* @param ?\leinonen\DataLoader\DataLoaderOptions $options
213+
* @param $batchLoadFunction
214+
* @param ?\leinonen\DataLoader\DataLoaderOptions $options
214215
* @return DataLoader
215216
*/
216217
private function createDataLoader($batchLoadFunction, $options = null)

tests/Unit/DataLoaderTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
use PHPUnit\Framework\TestCase;
99
use React\EventLoop\Factory;
1010
use React\EventLoop\LoopInterface;
11-
use function React\Promise\all;
1211
use React\Promise\Promise;
12+
13+
use function React\Promise\all;
1314
use function React\Promise\resolve;
1415

1516
class DataLoaderTest extends TestCase

0 commit comments

Comments
 (0)