@@ -144,7 +144,7 @@ |
||
| 144 | 144 | { |
| 145 | 145 | return preg_replace_callback( |
| 146 | 146 | $this->blockRegex(), |
| 147 | - function ($match) { |
|
| 147 | + function($match) { |
|
| 148 | 148 | if (!isset($this->phpBlocks[$match['id']])) { |
| 149 | 149 | return $match[0]; |
| 150 | 150 | } |
@@ -1,10 +1,10 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Spiral Framework. |
|
| 4 | - * |
|
| 5 | - * @license MIT |
|
| 6 | - * @author Anton Titov (Wolfy-J) |
|
| 7 | - */ |
|
| 3 | + * Spiral Framework. |
|
| 4 | + * |
|
| 5 | + * @license MIT |
|
| 6 | + * @author Anton Titov (Wolfy-J) |
|
| 7 | + */ |
|
| 8 | 8 | namespace Spiral\Validation\Checkers; |
| 9 | 9 | |
| 10 | 10 | use Spiral\Core\Container\SingletonInterface; |
@@ -14,9 +14,9 @@ discard block |
||
| 14 | 14 | */ |
| 15 | 15 | class ImageChecker extends FileChecker implements SingletonInterface |
| 16 | 16 | { |
| 17 | - /** |
|
| 18 | - * Getimagesize constants. |
|
| 19 | - */ |
|
| 17 | + /** |
|
| 18 | + * Getimagesize constants. |
|
| 19 | + */ |
|
| 20 | 20 | const WIDTH = 0; |
| 21 | 21 | const HEIGHT = 1; |
| 22 | 22 | const IMAGE_TYPE = 2; |