Passed
Push — latest ( 069c61...810c85 )
by Mark
03:20
created
src/Util/Normalize.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
                 $emoji = new Emoji($emoji);
76 76
             }
77 77
 
78
-            if (! $emoji instanceof Emoji) {
78
+            if (!$emoji instanceof Emoji) {
79 79
                 throw new \RuntimeException(\sprintf('Passed array item must be an instance of %s.', Emoji::class));
80 80
             }
81 81
 
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     public static function setType(&$value, string $type): bool
142 142
     {
143 143
         // Immediately return if not a valid type.
144
-        if (! isset(self::TYPE_METHODS[$type])) {
144
+        if (!isset(self::TYPE_METHODS[$type])) {
145 145
             $value = null;
146 146
 
147 147
             return false;
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
 
167 167
         /** @var string|string[] $shortcodes */
168 168
         foreach (\func_get_args() as $shortcodes) {
169
-            $normalized = \array_merge($normalized, \array_map(static function ($shortcode) {
169
+            $normalized = \array_merge($normalized, \array_map(static function($shortcode) {
170 170
                         return \preg_replace('/[^a-z0-9-]/', '-', \strtolower(\trim((string) $shortcode, ':(){}[]')));
171 171
             }, (array) $shortcodes));
172 172
         }
Please login to merge, or discard this patch.