Completed
Push — master ( 759854...e46a01 )
by Martin
13:10 queued 03:41
created
src/Exception/LevelIsNotDefinedException.php 2 patches
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -12,19 +12,19 @@
 block discarded – undo
12 12
  */
13 13
 class LevelIsNotDefinedException extends InvalidArgumentException implements ExceptionInterface
14 14
 {
15
-    /**
16
-     * @param string $level
17
-     * @param array  $levels
18
-     * @return static
19
-     */
20
-    public static function create($level, array $levels)
21
-    {
22
-        $message = sprintf(
23
-          'Level "%s" is not defined, use one of: "%s"',
24
-          $level,
25
-          implode('", "', array_keys($levels))
26
-        );
15
+		/**
16
+		 * @param string $level
17
+		 * @param array  $levels
18
+		 * @return static
19
+		 */
20
+		public static function create($level, array $levels)
21
+		{
22
+				$message = sprintf(
23
+					'Level "%s" is not defined, use one of: "%s"',
24
+					$level,
25
+					implode('", "', array_keys($levels))
26
+				);
27 27
 
28
-        return new static($message);
29
-    }
28
+				return new static($message);
29
+		}
30 30
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,15 +10,13 @@
 block discarded – undo
10 10
  * @package Yep\WorkflowLogger\Exception
11 11
  * @author  Martin Zeman (Zemistr) <[email protected]>
12 12
  */
13
-class LevelIsNotDefinedException extends InvalidArgumentException implements ExceptionInterface
14
-{
13
+class LevelIsNotDefinedException extends InvalidArgumentException implements ExceptionInterface {
15 14
     /**
16 15
      * @param string $level
17 16
      * @param array  $levels
18 17
      * @return static
19 18
      */
20
-    public static function create($level, array $levels)
21
-    {
19
+    public static function create($level, array $levels) {
22 20
         $message = sprintf(
23 21
           'Level "%s" is not defined, use one of: "%s"',
24 22
           $level,
Please login to merge, or discard this patch.
src/Exception/ExceptionInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,6 +8,5 @@
 block discarded – undo
8 8
  * @package Yep\WorkflowLogger\Exception
9 9
  * @author  Martin Zeman (Zemistr) <[email protected]>
10 10
  */
11
-interface ExceptionInterface
12
-{
11
+interface ExceptionInterface {
13 12
 }
Please login to merge, or discard this patch.