@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | /* |
| 5 | 5 | * This file is part of the API Platform project. |
| 6 | 6 | * |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | /* |
| 5 | 5 | * This file is part of the API Platform project. |
| 6 | 6 | * |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | /* |
| 5 | 5 | * This file is part of the API Platform project. |
| 6 | 6 | * |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | /* |
| 5 | 5 | * This file is part of the API Platform project. |
| 6 | 6 | * |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | /* |
| 5 | 5 | * This file is part of the API Platform project. |
| 6 | 6 | * |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | /* |
| 5 | 5 | * This file is part of the API Platform project. |
| 6 | 6 | * |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | // Create the regex to purge all tags in just one request |
| 46 | - $parts = array_map(function ($iri) { |
|
| 46 | + $parts = array_map(function($iri) { |
|
| 47 | 47 | sprintf('(^|\,)%s($|\,)', preg_quote($iri)); |
| 48 | 48 | }, $iris); |
| 49 | 49 | $regex = isset($parts[1]) ? sprintf('(%s)', implode(')|(', $parts)) : $parts[0]; |