Completed
Push — master ( 26f772...f7e954 )
by Evan
05:13
created
src/functions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 use Silk\Event\Hook;
4 4
 
5
-if (! function_exists('on')) :
5
+if (!function_exists('on')) :
6 6
     /**
7 7
      * Create and set a new event listener.
8 8
      *
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     }
21 21
 endif;
22 22
 
23
-if (! function_exists('off')) :
23
+if (!function_exists('off')) :
24 24
     /**
25 25
      * Remove an event listener.
26 26
      *
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
          * Here we add a new listener right before the hook is expected to fire,
44 44
          * so that if it is there, we can unhook it just in time.
45 45
          */
46
-        return on($handle, function ($given = null) use ($handle, $callback, $priority) {
46
+        return on($handle, function($given = null) use ($handle, $callback, $priority) {
47 47
             remove_filter($handle, $callback, $priority);
48 48
             return $given;
49 49
         })->withPriority($priority - 1);
Please login to merge, or discard this patch.
src/Type/Labels.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
      */
54 54
     public function toArray()
55 55
     {
56
-        return $this->map(function ($label) {
56
+        return $this->map(function($label) {
57 57
             return str_replace(
58 58
                 [
59 59
                     '{one}',
Please login to merge, or discard this patch.