Passed
Push — master ( b9fea2...a6a214 )
by Iman
03:14
created
src/YouShouldHave.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     {
18 18
         $gate = $this->defineNewGate($gate);
19 19
 
20
-        $this->predicate = function () use ($gate, $args) {
20
+        $this->predicate = function() use ($gate, $args) {
21 21
             return Gate::allows($gate, $args);
22 22
         };
23 23
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
     public function thisMethodShouldAllow($callback, array $parameters = [])
33 33
     {
34
-        $this->predicate = function () use ($callback, $parameters) {
34
+        $this->predicate = function() use ($callback, $parameters) {
35 35
             return (boolean) app()->call($callback, $parameters);
36 36
         };
37 37
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
     public function thisValueShouldAllow($value)
42 42
     {
43
-        $this->predicate = function () use ($value) {
43
+        $this->predicate = function() use ($value) {
44 44
             return (boolean) $value;
45 45
         };
46 46
         return new Otherwise();
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
     public function youShouldBeGuest()
50 50
     {
51
-        $this->predicate = function () {
51
+        $this->predicate = function() {
52 52
             return auth()->guest();
53 53
         };
54 54
 
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 
58 58
     public function youShouldBeLoggedIn()
59 59
     {
60
-        $this->predicate = function () {
60
+        $this->predicate = function() {
61 61
             return auth()->check();
62 62
         };
63 63
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 
67 67
     public function immediately()
68 68
     {
69
-        $this->predicate = function () {
69
+        $this->predicate = function() {
70 70
             return false;
71 71
         };
72 72
 
Please login to merge, or discard this patch.