Completed
Push — master ( 8f4851...229728 )
by Terry
04:10
created
src/Assert.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
     }
219 219
 
220 220
     /**
221
-     * @param $exceptionClass
221
+     * @param string $exceptionClass
222 222
      * @return Assert
223 223
      */
224 224
     public function setExceptionClass($exceptionClass)
@@ -1220,7 +1220,7 @@  discard block
 block discarded – undo
1220 1220
      *
1221 1221
      * @throws AssertionFailedException
1222 1222
      *
1223
-     * @param array $choices
1223
+     * @param integer[] $choices
1224 1224
      * @param string|null $message
1225 1225
      * @param string|null $propertyPath
1226 1226
      * @return $this
@@ -2352,7 +2352,7 @@  discard block
 block discarded – undo
2352 2352
     }
2353 2353
 
2354 2354
     /**
2355
-     * @param $func
2355
+     * @param string $func
2356 2356
      * @param $args
2357 2357
      * @return bool
2358 2358
      * @throws AssertionFailedException
Please login to merge, or discard this patch.
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1995,8 +1995,7 @@  discard block
 block discarded – undo
1995 1995
                 $this->stringify($this->value)
1996 1996
             );
1997 1997
             throw $this->createException($message, $this->overrideCode ?: self::INVALID_EMAIL, $propertyPath);
1998
-        }
1999
-        else
1998
+        } else
2000 1999
         {
2001 2000
             $host = substr($this->value, strpos($this->value, '@') + 1);
2002 2001
             // Likely not a FQDN, bug in PHP FILTER_VALIDATE_EMAIL prior to PHP 5.3.3
@@ -2122,8 +2121,7 @@  discard block
 block discarded – undo
2122 2121
         try
2123 2122
         {
2124 2123
             $this->regex('/^04[0-9]{8})$/', $message, $propertyPath);
2125
-        }
2126
-        catch ( AssertionFailedException $e )
2124
+        } catch ( AssertionFailedException $e )
2127 2125
         {
2128 2126
             $message = $message ?: $this->overrideError;
2129 2127
             $message = sprintf(
@@ -2153,8 +2151,7 @@  discard block
 block discarded – undo
2153 2151
         try
2154 2152
         {
2155 2153
             $this->regex('(^([a-zA-Z]{1}[a-zA-Z0-9]*)$)', $message, $propertyPath);
2156
-        }
2157
-        catch (AssertionFailedException $e)
2154
+        } catch (AssertionFailedException $e)
2158 2155
         {
2159 2156
             $message = $message ?: $this->overrideError;
2160 2157
             $message = sprintf(
Please login to merge, or discard this patch.