Passed
Push — develop ( 9e1950...a4b6b7 )
by nguereza
02:00
created
src/Validator/Rule/Extension.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@  discard block
 block discarded – undo
60 60
  * Class Extension
61 61
  * @package Platine\Upload\Validator\Rule
62 62
  */
63
-class Extension implements RuleInterface
64
-{
63
+class Extension implements RuleInterface {
65 64
     /**
66 65
      * The list of allowed/forbidden extensions
67 66
      * @var array<int, string>
@@ -79,8 +78,7 @@  discard block
 block discarded – undo
79 78
      * @param array<int, string>|string $extensions
80 79
      * @param bool $exclude
81 80
      */
82
-    public function __construct($extensions, bool $exclude = false)
83
-    {
81
+    public function __construct($extensions, bool $exclude = false) {
84 82
         if (!is_array($extensions)) {
85 83
             $extensions = [$extensions];
86 84
         }
Please login to merge, or discard this patch.