Completed
Pull Request — master (#1604)
by Kévin
03:17
created
src/Validator/ValidatorInterface.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,9 +26,10 @@
 block discarded – undo
26 26
      * Validates an item.
27 27
      *
28 28
      * @param object $data
29
-     * @param array  $contexy
29
+     * @param array  $context
30 30
      *
31 31
      * @throws ValidationException
32
+     * @return void
32 33
      */
33 34
     public function validate($data, array $context = []);
34 35
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Validator;
15 15
 
Please login to merge, or discard this patch.
src/Validator/Exception/ValidationException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Validator\Exception;
15 15
 
Please login to merge, or discard this patch.
src/Validator/EventListener/ValidateListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Validator\EventListener;
15 15
 
Please login to merge, or discard this patch.
src/Bridge/Symfony/Validator/Validator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Bridge\Symfony\Validator;
15 15
 
Please login to merge, or discard this patch.