@@ -10,102 +10,102 @@ |
||
10 | 10 | |
11 | 11 | interface Registrar |
12 | 12 | { |
13 | - /** |
|
14 | - * Register a new GET route with the router. |
|
15 | - * |
|
16 | - * @param string $uri |
|
17 | - * @param \Closure|array|string $action |
|
18 | - * @return \Illuminate\Routing\Route |
|
19 | - */ |
|
20 | - public function get($uri, $action); |
|
13 | + /** |
|
14 | + * Register a new GET route with the router. |
|
15 | + * |
|
16 | + * @param string $uri |
|
17 | + * @param \Closure|array|string $action |
|
18 | + * @return \Illuminate\Routing\Route |
|
19 | + */ |
|
20 | + public function get($uri, $action); |
|
21 | 21 | |
22 | - /** |
|
23 | - * Register a new POST route with the router. |
|
24 | - * |
|
25 | - * @param string $uri |
|
26 | - * @param \Closure|array|string $action |
|
27 | - * @return \Illuminate\Routing\Route |
|
28 | - */ |
|
29 | - public function post($uri, $action); |
|
22 | + /** |
|
23 | + * Register a new POST route with the router. |
|
24 | + * |
|
25 | + * @param string $uri |
|
26 | + * @param \Closure|array|string $action |
|
27 | + * @return \Illuminate\Routing\Route |
|
28 | + */ |
|
29 | + public function post($uri, $action); |
|
30 | 30 | |
31 | - /** |
|
32 | - * Register a new PUT route with the router. |
|
33 | - * |
|
34 | - * @param string $uri |
|
35 | - * @param \Closure|array|string $action |
|
36 | - * @return \Illuminate\Routing\Route |
|
37 | - */ |
|
38 | - public function put($uri, $action); |
|
31 | + /** |
|
32 | + * Register a new PUT route with the router. |
|
33 | + * |
|
34 | + * @param string $uri |
|
35 | + * @param \Closure|array|string $action |
|
36 | + * @return \Illuminate\Routing\Route |
|
37 | + */ |
|
38 | + public function put($uri, $action); |
|
39 | 39 | |
40 | - /** |
|
41 | - * Register a new DELETE route with the router. |
|
42 | - * |
|
43 | - * @param string $uri |
|
44 | - * @param \Closure|array|string $action |
|
45 | - * @return \Illuminate\Routing\Route |
|
46 | - */ |
|
47 | - public function delete($uri, $action); |
|
40 | + /** |
|
41 | + * Register a new DELETE route with the router. |
|
42 | + * |
|
43 | + * @param string $uri |
|
44 | + * @param \Closure|array|string $action |
|
45 | + * @return \Illuminate\Routing\Route |
|
46 | + */ |
|
47 | + public function delete($uri, $action); |
|
48 | 48 | |
49 | - /** |
|
50 | - * Register a new PATCH route with the router. |
|
51 | - * |
|
52 | - * @param string $uri |
|
53 | - * @param \Closure|array|string $action |
|
54 | - * @return \Illuminate\Routing\Route |
|
55 | - */ |
|
56 | - public function patch($uri, $action); |
|
49 | + /** |
|
50 | + * Register a new PATCH route with the router. |
|
51 | + * |
|
52 | + * @param string $uri |
|
53 | + * @param \Closure|array|string $action |
|
54 | + * @return \Illuminate\Routing\Route |
|
55 | + */ |
|
56 | + public function patch($uri, $action); |
|
57 | 57 | |
58 | - /** |
|
59 | - * Register a new OPTIONS route with the router. |
|
60 | - * |
|
61 | - * @param string $uri |
|
62 | - * @param \Closure|array|string $action |
|
63 | - * @return \Illuminate\Routing\Route |
|
64 | - */ |
|
65 | - public function options($uri, $action); |
|
58 | + /** |
|
59 | + * Register a new OPTIONS route with the router. |
|
60 | + * |
|
61 | + * @param string $uri |
|
62 | + * @param \Closure|array|string $action |
|
63 | + * @return \Illuminate\Routing\Route |
|
64 | + */ |
|
65 | + public function options($uri, $action); |
|
66 | 66 | |
67 | - /** |
|
68 | - * Register a new route with the given verbs. |
|
69 | - * |
|
70 | - * @param array|string $methods |
|
71 | - * @param string $uri |
|
72 | - * @param \Closure|array|string $action |
|
73 | - * @return \Illuminate\Routing\Route |
|
74 | - */ |
|
75 | - public function match($methods, $uri, $action); |
|
67 | + /** |
|
68 | + * Register a new route with the given verbs. |
|
69 | + * |
|
70 | + * @param array|string $methods |
|
71 | + * @param string $uri |
|
72 | + * @param \Closure|array|string $action |
|
73 | + * @return \Illuminate\Routing\Route |
|
74 | + */ |
|
75 | + public function match($methods, $uri, $action); |
|
76 | 76 | |
77 | - /** |
|
78 | - * Route a resource to a controller. |
|
79 | - * |
|
80 | - * @param string $name |
|
81 | - * @param string $controller |
|
82 | - * @param array $options |
|
83 | - * @return void |
|
84 | - */ |
|
85 | - public function resource($name, $controller, array $options = []); |
|
77 | + /** |
|
78 | + * Route a resource to a controller. |
|
79 | + * |
|
80 | + * @param string $name |
|
81 | + * @param string $controller |
|
82 | + * @param array $options |
|
83 | + * @return void |
|
84 | + */ |
|
85 | + public function resource($name, $controller, array $options = []); |
|
86 | 86 | |
87 | - /** |
|
88 | - * Create a route group with shared attributes. |
|
89 | - * |
|
90 | - * @param array $attributes |
|
91 | - * @param \Closure|string $routes |
|
92 | - * @return void |
|
93 | - */ |
|
94 | - public function group(array $attributes, $routes); |
|
87 | + /** |
|
88 | + * Create a route group with shared attributes. |
|
89 | + * |
|
90 | + * @param array $attributes |
|
91 | + * @param \Closure|string $routes |
|
92 | + * @return void |
|
93 | + */ |
|
94 | + public function group(array $attributes, $routes); |
|
95 | 95 | |
96 | - /** |
|
97 | - * Substitute the route bindings onto the route. |
|
98 | - * |
|
99 | - * @param \Illuminate\Routing\Route $route |
|
100 | - * @return \Illuminate\Routing\Route |
|
101 | - */ |
|
102 | - public function substituteBindings($route); |
|
96 | + /** |
|
97 | + * Substitute the route bindings onto the route. |
|
98 | + * |
|
99 | + * @param \Illuminate\Routing\Route $route |
|
100 | + * @return \Illuminate\Routing\Route |
|
101 | + */ |
|
102 | + public function substituteBindings($route); |
|
103 | 103 | |
104 | - /** |
|
105 | - * Substitute the implicit Eloquent model bindings for the route. |
|
106 | - * |
|
107 | - * @param \Illuminate\Routing\Route $route |
|
108 | - * @return void |
|
109 | - */ |
|
110 | - public function substituteImplicitBindings($route); |
|
104 | + /** |
|
105 | + * Substitute the implicit Eloquent model bindings for the route. |
|
106 | + * |
|
107 | + * @param \Illuminate\Routing\Route $route |
|
108 | + * @return void |
|
109 | + */ |
|
110 | + public function substituteImplicitBindings($route); |
|
111 | 111 | } |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | * @param \Closure|array|string $action |
18 | 18 | * @return \Illuminate\Routing\Route |
19 | 19 | */ |
20 | - public function get($uri, $action); |
|
20 | + public function get( $uri, $action ); |
|
21 | 21 | |
22 | 22 | /** |
23 | 23 | * Register a new POST route with the router. |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * @param \Closure|array|string $action |
27 | 27 | * @return \Illuminate\Routing\Route |
28 | 28 | */ |
29 | - public function post($uri, $action); |
|
29 | + public function post( $uri, $action ); |
|
30 | 30 | |
31 | 31 | /** |
32 | 32 | * Register a new PUT route with the router. |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | * @param \Closure|array|string $action |
36 | 36 | * @return \Illuminate\Routing\Route |
37 | 37 | */ |
38 | - public function put($uri, $action); |
|
38 | + public function put( $uri, $action ); |
|
39 | 39 | |
40 | 40 | /** |
41 | 41 | * Register a new DELETE route with the router. |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * @param \Closure|array|string $action |
45 | 45 | * @return \Illuminate\Routing\Route |
46 | 46 | */ |
47 | - public function delete($uri, $action); |
|
47 | + public function delete( $uri, $action ); |
|
48 | 48 | |
49 | 49 | /** |
50 | 50 | * Register a new PATCH route with the router. |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * @param \Closure|array|string $action |
54 | 54 | * @return \Illuminate\Routing\Route |
55 | 55 | */ |
56 | - public function patch($uri, $action); |
|
56 | + public function patch( $uri, $action ); |
|
57 | 57 | |
58 | 58 | /** |
59 | 59 | * Register a new OPTIONS route with the router. |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | * @param \Closure|array|string $action |
63 | 63 | * @return \Illuminate\Routing\Route |
64 | 64 | */ |
65 | - public function options($uri, $action); |
|
65 | + public function options( $uri, $action ); |
|
66 | 66 | |
67 | 67 | /** |
68 | 68 | * Register a new route with the given verbs. |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | * @param \Closure|array|string $action |
73 | 73 | * @return \Illuminate\Routing\Route |
74 | 74 | */ |
75 | - public function match($methods, $uri, $action); |
|
75 | + public function match( $methods, $uri, $action ); |
|
76 | 76 | |
77 | 77 | /** |
78 | 78 | * Route a resource to a controller. |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | * @param array $options |
83 | 83 | * @return void |
84 | 84 | */ |
85 | - public function resource($name, $controller, array $options = []); |
|
85 | + public function resource( $name, $controller, array $options = [ ] ); |
|
86 | 86 | |
87 | 87 | /** |
88 | 88 | * Create a route group with shared attributes. |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * @param \Closure|string $routes |
92 | 92 | * @return void |
93 | 93 | */ |
94 | - public function group(array $attributes, $routes); |
|
94 | + public function group( array $attributes, $routes ); |
|
95 | 95 | |
96 | 96 | /** |
97 | 97 | * Substitute the route bindings onto the route. |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | * @param \Illuminate\Routing\Route $route |
100 | 100 | * @return \Illuminate\Routing\Route |
101 | 101 | */ |
102 | - public function substituteBindings($route); |
|
102 | + public function substituteBindings( $route ); |
|
103 | 103 | |
104 | 104 | /** |
105 | 105 | * Substitute the implicit Eloquent model bindings for the route. |
@@ -107,5 +107,5 @@ discard block |
||
107 | 107 | * @param \Illuminate\Routing\Route $route |
108 | 108 | * @return void |
109 | 109 | */ |
110 | - public function substituteImplicitBindings($route); |
|
110 | + public function substituteImplicitBindings( $route ); |
|
111 | 111 | } |
@@ -8,8 +8,7 @@ |
||
8 | 8 | |
9 | 9 | namespace GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Routing; |
10 | 10 | |
11 | -interface Registrar |
|
12 | -{ |
|
11 | +interface Registrar { |
|
13 | 12 | /** |
14 | 13 | * Register a new GET route with the router. |
15 | 14 | * |
@@ -10,21 +10,21 @@ |
||
10 | 10 | |
11 | 11 | interface Dispatcher |
12 | 12 | { |
13 | - /** |
|
14 | - * Send the given notification to the given notifiable entities. |
|
15 | - * |
|
16 | - * @param \GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Support\Collection|array|mixed $notifiables |
|
17 | - * @param mixed $notification |
|
18 | - * @return void |
|
19 | - */ |
|
20 | - public function send($notifiables, $notification); |
|
13 | + /** |
|
14 | + * Send the given notification to the given notifiable entities. |
|
15 | + * |
|
16 | + * @param \GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Support\Collection|array|mixed $notifiables |
|
17 | + * @param mixed $notification |
|
18 | + * @return void |
|
19 | + */ |
|
20 | + public function send($notifiables, $notification); |
|
21 | 21 | |
22 | - /** |
|
23 | - * Send the given notification immediately. |
|
24 | - * |
|
25 | - * @param \GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Support\Collection|array|mixed $notifiables |
|
26 | - * @param mixed $notification |
|
27 | - * @return void |
|
28 | - */ |
|
29 | - public function sendNow($notifiables, $notification); |
|
22 | + /** |
|
23 | + * Send the given notification immediately. |
|
24 | + * |
|
25 | + * @param \GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Support\Collection|array|mixed $notifiables |
|
26 | + * @param mixed $notification |
|
27 | + * @return void |
|
28 | + */ |
|
29 | + public function sendNow($notifiables, $notification); |
|
30 | 30 | } |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | * @param mixed $notification |
12 | 12 | * @return void |
13 | 13 | */ |
14 | - public function send($notifiables, $notification); |
|
14 | + public function send( $notifiables, $notification ); |
|
15 | 15 | |
16 | 16 | /** |
17 | 17 | * Send the given notification immediately. |
@@ -20,5 +20,5 @@ discard block |
||
20 | 20 | * @param mixed $notification |
21 | 21 | * @return void |
22 | 22 | */ |
23 | - public function sendNow($notifiables, $notification); |
|
23 | + public function sendNow( $notifiables, $notification ); |
|
24 | 24 | } |
@@ -8,8 +8,7 @@ |
||
8 | 8 | |
9 | 9 | namespace GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Notifications; |
10 | 10 | |
11 | -interface Dispatcher |
|
12 | -{ |
|
11 | +interface Dispatcher { |
|
13 | 12 | /** |
14 | 13 | * Send the given notification to the given notifiable entities. |
15 | 14 | * |
@@ -10,29 +10,29 @@ |
||
10 | 10 | |
11 | 11 | interface Factory |
12 | 12 | { |
13 | - /** |
|
14 | - * Get a channel instance by name. |
|
15 | - * |
|
16 | - * @param string|null $name |
|
17 | - * @return mixed |
|
18 | - */ |
|
19 | - public function channel($name = null); |
|
13 | + /** |
|
14 | + * Get a channel instance by name. |
|
15 | + * |
|
16 | + * @param string|null $name |
|
17 | + * @return mixed |
|
18 | + */ |
|
19 | + public function channel($name = null); |
|
20 | 20 | |
21 | - /** |
|
22 | - * Send the given notification to the given notifiable entities. |
|
23 | - * |
|
24 | - * @param \GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Support\Collection|array|mixed $notifiables |
|
25 | - * @param mixed $notification |
|
26 | - * @return void |
|
27 | - */ |
|
28 | - public function send($notifiables, $notification); |
|
21 | + /** |
|
22 | + * Send the given notification to the given notifiable entities. |
|
23 | + * |
|
24 | + * @param \GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Support\Collection|array|mixed $notifiables |
|
25 | + * @param mixed $notification |
|
26 | + * @return void |
|
27 | + */ |
|
28 | + public function send($notifiables, $notification); |
|
29 | 29 | |
30 | - /** |
|
31 | - * Send the given notification immediately. |
|
32 | - * |
|
33 | - * @param \GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Support\Collection|array|mixed $notifiables |
|
34 | - * @param mixed $notification |
|
35 | - * @return void |
|
36 | - */ |
|
37 | - public function sendNow($notifiables, $notification); |
|
30 | + /** |
|
31 | + * Send the given notification immediately. |
|
32 | + * |
|
33 | + * @param \GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Support\Collection|array|mixed $notifiables |
|
34 | + * @param mixed $notification |
|
35 | + * @return void |
|
36 | + */ |
|
37 | + public function sendNow($notifiables, $notification); |
|
38 | 38 | } |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | * @param string|null $name |
11 | 11 | * @return mixed |
12 | 12 | */ |
13 | - public function channel($name = null); |
|
13 | + public function channel( $name = null ); |
|
14 | 14 | |
15 | 15 | /** |
16 | 16 | * Send the given notification to the given notifiable entities. |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | * @param mixed $notification |
20 | 20 | * @return void |
21 | 21 | */ |
22 | - public function send($notifiables, $notification); |
|
22 | + public function send( $notifiables, $notification ); |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * Send the given notification immediately. |
@@ -28,5 +28,5 @@ discard block |
||
28 | 28 | * @param mixed $notification |
29 | 29 | * @return void |
30 | 30 | */ |
31 | - public function sendNow($notifiables, $notification); |
|
31 | + public function sendNow( $notifiables, $notification ); |
|
32 | 32 | } |
@@ -8,8 +8,7 @@ |
||
8 | 8 | |
9 | 9 | namespace GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Notifications; |
10 | 10 | |
11 | -interface Factory |
|
12 | -{ |
|
11 | +interface Factory { |
|
13 | 12 | /** |
14 | 13 | * Get a channel instance by name. |
15 | 14 | * |
@@ -10,11 +10,11 @@ |
||
10 | 10 | |
11 | 11 | interface Factory |
12 | 12 | { |
13 | - /** |
|
14 | - * Get a Redis connection by name. |
|
15 | - * |
|
16 | - * @param string $name |
|
17 | - * @return \Illuminate\Redis\Connections\Connection |
|
18 | - */ |
|
19 | - public function connection($name = null); |
|
13 | + /** |
|
14 | + * Get a Redis connection by name. |
|
15 | + * |
|
16 | + * @param string $name |
|
17 | + * @return \Illuminate\Redis\Connections\Connection |
|
18 | + */ |
|
19 | + public function connection($name = null); |
|
20 | 20 | } |
@@ -16,5 +16,5 @@ |
||
16 | 16 | * @param string $name |
17 | 17 | * @return \Illuminate\Redis\Connections\Connection |
18 | 18 | */ |
19 | - public function connection($name = null); |
|
19 | + public function connection( $name = null ); |
|
20 | 20 | } |
@@ -8,8 +8,7 @@ |
||
8 | 8 | |
9 | 9 | namespace GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Redis; |
10 | 10 | |
11 | -interface Factory |
|
12 | -{ |
|
11 | +interface Factory { |
|
13 | 12 | /** |
14 | 13 | * Get a Redis connection by name. |
15 | 14 | * |
@@ -10,107 +10,107 @@ |
||
10 | 10 | |
11 | 11 | interface Paginator |
12 | 12 | { |
13 | - /** |
|
14 | - * Get the URL for a given page. |
|
15 | - * |
|
16 | - * @param int $page |
|
17 | - * @return string |
|
18 | - */ |
|
19 | - public function url($page); |
|
13 | + /** |
|
14 | + * Get the URL for a given page. |
|
15 | + * |
|
16 | + * @param int $page |
|
17 | + * @return string |
|
18 | + */ |
|
19 | + public function url($page); |
|
20 | 20 | |
21 | - /** |
|
22 | - * Add a set of query string values to the paginator. |
|
23 | - * |
|
24 | - * @param array|string $key |
|
25 | - * @param string|null $value |
|
26 | - * @return $this |
|
27 | - */ |
|
28 | - public function appends($key, $value = null); |
|
21 | + /** |
|
22 | + * Add a set of query string values to the paginator. |
|
23 | + * |
|
24 | + * @param array|string $key |
|
25 | + * @param string|null $value |
|
26 | + * @return $this |
|
27 | + */ |
|
28 | + public function appends($key, $value = null); |
|
29 | 29 | |
30 | - /** |
|
31 | - * Get / set the URL fragment to be appended to URLs. |
|
32 | - * |
|
33 | - * @param string|null $fragment |
|
34 | - * @return $this|string |
|
35 | - */ |
|
36 | - public function fragment($fragment = null); |
|
30 | + /** |
|
31 | + * Get / set the URL fragment to be appended to URLs. |
|
32 | + * |
|
33 | + * @param string|null $fragment |
|
34 | + * @return $this|string |
|
35 | + */ |
|
36 | + public function fragment($fragment = null); |
|
37 | 37 | |
38 | - /** |
|
39 | - * The URL for the next page, or null. |
|
40 | - * |
|
41 | - * @return string|null |
|
42 | - */ |
|
43 | - public function nextPageUrl(); |
|
38 | + /** |
|
39 | + * The URL for the next page, or null. |
|
40 | + * |
|
41 | + * @return string|null |
|
42 | + */ |
|
43 | + public function nextPageUrl(); |
|
44 | 44 | |
45 | - /** |
|
46 | - * Get the URL for the previous page, or null. |
|
47 | - * |
|
48 | - * @return string|null |
|
49 | - */ |
|
50 | - public function previousPageUrl(); |
|
45 | + /** |
|
46 | + * Get the URL for the previous page, or null. |
|
47 | + * |
|
48 | + * @return string|null |
|
49 | + */ |
|
50 | + public function previousPageUrl(); |
|
51 | 51 | |
52 | - /** |
|
53 | - * Get all of the items being paginated. |
|
54 | - * |
|
55 | - * @return array |
|
56 | - */ |
|
57 | - public function items(); |
|
52 | + /** |
|
53 | + * Get all of the items being paginated. |
|
54 | + * |
|
55 | + * @return array |
|
56 | + */ |
|
57 | + public function items(); |
|
58 | 58 | |
59 | - /** |
|
60 | - * Get the "index" of the first item being paginated. |
|
61 | - * |
|
62 | - * @return int |
|
63 | - */ |
|
64 | - public function firstItem(); |
|
59 | + /** |
|
60 | + * Get the "index" of the first item being paginated. |
|
61 | + * |
|
62 | + * @return int |
|
63 | + */ |
|
64 | + public function firstItem(); |
|
65 | 65 | |
66 | - /** |
|
67 | - * Get the "index" of the last item being paginated. |
|
68 | - * |
|
69 | - * @return int |
|
70 | - */ |
|
71 | - public function lastItem(); |
|
66 | + /** |
|
67 | + * Get the "index" of the last item being paginated. |
|
68 | + * |
|
69 | + * @return int |
|
70 | + */ |
|
71 | + public function lastItem(); |
|
72 | 72 | |
73 | - /** |
|
74 | - * Determine how many items are being shown per page. |
|
75 | - * |
|
76 | - * @return int |
|
77 | - */ |
|
78 | - public function perPage(); |
|
73 | + /** |
|
74 | + * Determine how many items are being shown per page. |
|
75 | + * |
|
76 | + * @return int |
|
77 | + */ |
|
78 | + public function perPage(); |
|
79 | 79 | |
80 | - /** |
|
81 | - * Determine the current page being paginated. |
|
82 | - * |
|
83 | - * @return int |
|
84 | - */ |
|
85 | - public function currentPage(); |
|
80 | + /** |
|
81 | + * Determine the current page being paginated. |
|
82 | + * |
|
83 | + * @return int |
|
84 | + */ |
|
85 | + public function currentPage(); |
|
86 | 86 | |
87 | - /** |
|
88 | - * Determine if there are enough items to split into multiple pages. |
|
89 | - * |
|
90 | - * @return bool |
|
91 | - */ |
|
92 | - public function hasPages(); |
|
87 | + /** |
|
88 | + * Determine if there are enough items to split into multiple pages. |
|
89 | + * |
|
90 | + * @return bool |
|
91 | + */ |
|
92 | + public function hasPages(); |
|
93 | 93 | |
94 | - /** |
|
95 | - * Determine if there is more items in the data store. |
|
96 | - * |
|
97 | - * @return bool |
|
98 | - */ |
|
99 | - public function hasMorePages(); |
|
94 | + /** |
|
95 | + * Determine if there is more items in the data store. |
|
96 | + * |
|
97 | + * @return bool |
|
98 | + */ |
|
99 | + public function hasMorePages(); |
|
100 | 100 | |
101 | - /** |
|
102 | - * Determine if the list of items is empty or not. |
|
103 | - * |
|
104 | - * @return bool |
|
105 | - */ |
|
106 | - public function isEmpty(); |
|
101 | + /** |
|
102 | + * Determine if the list of items is empty or not. |
|
103 | + * |
|
104 | + * @return bool |
|
105 | + */ |
|
106 | + public function isEmpty(); |
|
107 | 107 | |
108 | - /** |
|
109 | - * Render the paginator using a given view. |
|
110 | - * |
|
111 | - * @param string|null $view |
|
112 | - * @param array $data |
|
113 | - * @return string |
|
114 | - */ |
|
115 | - public function render($view = null, $data = []); |
|
108 | + /** |
|
109 | + * Render the paginator using a given view. |
|
110 | + * |
|
111 | + * @param string|null $view |
|
112 | + * @param array $data |
|
113 | + * @return string |
|
114 | + */ |
|
115 | + public function render($view = null, $data = []); |
|
116 | 116 | } |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | * @param int $page |
11 | 11 | * @return string |
12 | 12 | */ |
13 | - public function url($page); |
|
13 | + public function url( $page ); |
|
14 | 14 | |
15 | 15 | /** |
16 | 16 | * Add a set of query string values to the paginator. |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | * @param string|null $value |
20 | 20 | * @return $this |
21 | 21 | */ |
22 | - public function appends($key, $value = null); |
|
22 | + public function appends( $key, $value = null ); |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * Get / set the URL fragment to be appended to URLs. |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | * @param string|null $fragment |
28 | 28 | * @return $this|string |
29 | 29 | */ |
30 | - public function fragment($fragment = null); |
|
30 | + public function fragment( $fragment = null ); |
|
31 | 31 | |
32 | 32 | /** |
33 | 33 | * The URL for the next page, or null. |
@@ -120,5 +120,5 @@ discard block |
||
120 | 120 | * @param array $data |
121 | 121 | * @return string |
122 | 122 | */ |
123 | - public function render($view = null, $data = []); |
|
123 | + public function render( $view = null, $data = [ ] ); |
|
124 | 124 | } |
@@ -8,8 +8,7 @@ |
||
8 | 8 | |
9 | 9 | namespace GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Pagination; |
10 | 10 | |
11 | -interface Paginator |
|
12 | -{ |
|
11 | +interface Paginator { |
|
13 | 12 | /** |
14 | 13 | * Get the URL for a given page. |
15 | 14 | * |
@@ -4,26 +4,26 @@ |
||
4 | 4 | |
5 | 5 | interface LengthAwarePaginator extends Paginator |
6 | 6 | { |
7 | - /** |
|
8 | - * Create a range of pagination URLs. |
|
9 | - * |
|
10 | - * @param int $start |
|
11 | - * @param int $end |
|
12 | - * @return array |
|
13 | - */ |
|
14 | - public function getUrlRange($start, $end); |
|
7 | + /** |
|
8 | + * Create a range of pagination URLs. |
|
9 | + * |
|
10 | + * @param int $start |
|
11 | + * @param int $end |
|
12 | + * @return array |
|
13 | + */ |
|
14 | + public function getUrlRange($start, $end); |
|
15 | 15 | |
16 | - /** |
|
17 | - * Determine the total number of items in the data store. |
|
18 | - * |
|
19 | - * @return int |
|
20 | - */ |
|
21 | - public function total(); |
|
16 | + /** |
|
17 | + * Determine the total number of items in the data store. |
|
18 | + * |
|
19 | + * @return int |
|
20 | + */ |
|
21 | + public function total(); |
|
22 | 22 | |
23 | - /** |
|
24 | - * Get the page number of the last available page. |
|
25 | - * |
|
26 | - * @return int |
|
27 | - */ |
|
28 | - public function lastPage(); |
|
23 | + /** |
|
24 | + * Get the page number of the last available page. |
|
25 | + * |
|
26 | + * @return int |
|
27 | + */ |
|
28 | + public function lastPage(); |
|
29 | 29 | } |
@@ -11,7 +11,7 @@ |
||
11 | 11 | * @param int $end |
12 | 12 | * @return array |
13 | 13 | */ |
14 | - public function getUrlRange($start, $end); |
|
14 | + public function getUrlRange( $start, $end ); |
|
15 | 15 | |
16 | 16 | /** |
17 | 17 | * Determine the total number of items in the data store. |
@@ -8,8 +8,7 @@ |
||
8 | 8 | |
9 | 9 | namespace GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Pagination; |
10 | 10 | |
11 | -interface LengthAwarePaginator extends Paginator |
|
12 | -{ |
|
11 | +interface LengthAwarePaginator extends Paginator { |
|
13 | 12 | /** |
14 | 13 | * Create a range of pagination URLs. |
15 | 14 | * |
@@ -10,10 +10,10 @@ |
||
10 | 10 | |
11 | 11 | interface ValidatesWhenResolved |
12 | 12 | { |
13 | - /** |
|
14 | - * Validate the given class instance. |
|
15 | - * |
|
16 | - * @return void |
|
17 | - */ |
|
18 | - public function validate(); |
|
13 | + /** |
|
14 | + * Validate the given class instance. |
|
15 | + * |
|
16 | + * @return void |
|
17 | + */ |
|
18 | + public function validate(); |
|
19 | 19 | } |
@@ -8,8 +8,7 @@ |
||
8 | 8 | |
9 | 9 | namespace GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Validation; |
10 | 10 | |
11 | -interface ValidatesWhenResolved |
|
12 | -{ |
|
11 | +interface ValidatesWhenResolved { |
|
13 | 12 | /** |
14 | 13 | * Validate the given class instance. |
15 | 14 | * |
@@ -10,43 +10,43 @@ |
||
10 | 10 | |
11 | 11 | interface Factory |
12 | 12 | { |
13 | - /** |
|
14 | - * Create a new Validator instance. |
|
15 | - * |
|
16 | - * @param array $data |
|
17 | - * @param array $rules |
|
18 | - * @param array $messages |
|
19 | - * @param array $customAttributes |
|
20 | - * @return \GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Validation\Validator |
|
21 | - */ |
|
22 | - public function make(array $data, array $rules, array $messages = [], array $customAttributes = []); |
|
13 | + /** |
|
14 | + * Create a new Validator instance. |
|
15 | + * |
|
16 | + * @param array $data |
|
17 | + * @param array $rules |
|
18 | + * @param array $messages |
|
19 | + * @param array $customAttributes |
|
20 | + * @return \GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Validation\Validator |
|
21 | + */ |
|
22 | + public function make(array $data, array $rules, array $messages = [], array $customAttributes = []); |
|
23 | 23 | |
24 | - /** |
|
25 | - * Register a custom validator extension. |
|
26 | - * |
|
27 | - * @param string $rule |
|
28 | - * @param \Closure|string $extension |
|
29 | - * @param string $message |
|
30 | - * @return void |
|
31 | - */ |
|
32 | - public function extend($rule, $extension, $message = null); |
|
24 | + /** |
|
25 | + * Register a custom validator extension. |
|
26 | + * |
|
27 | + * @param string $rule |
|
28 | + * @param \Closure|string $extension |
|
29 | + * @param string $message |
|
30 | + * @return void |
|
31 | + */ |
|
32 | + public function extend($rule, $extension, $message = null); |
|
33 | 33 | |
34 | - /** |
|
35 | - * Register a custom implicit validator extension. |
|
36 | - * |
|
37 | - * @param string $rule |
|
38 | - * @param \Closure|string $extension |
|
39 | - * @param string $message |
|
40 | - * @return void |
|
41 | - */ |
|
42 | - public function extendImplicit($rule, $extension, $message = null); |
|
34 | + /** |
|
35 | + * Register a custom implicit validator extension. |
|
36 | + * |
|
37 | + * @param string $rule |
|
38 | + * @param \Closure|string $extension |
|
39 | + * @param string $message |
|
40 | + * @return void |
|
41 | + */ |
|
42 | + public function extendImplicit($rule, $extension, $message = null); |
|
43 | 43 | |
44 | - /** |
|
45 | - * Register a custom implicit validator message replacer. |
|
46 | - * |
|
47 | - * @param string $rule |
|
48 | - * @param \Closure|string $replacer |
|
49 | - * @return void |
|
50 | - */ |
|
51 | - public function replacer($rule, $replacer); |
|
44 | + /** |
|
45 | + * Register a custom implicit validator message replacer. |
|
46 | + * |
|
47 | + * @param string $rule |
|
48 | + * @param \Closure|string $replacer |
|
49 | + * @return void |
|
50 | + */ |
|
51 | + public function replacer($rule, $replacer); |
|
52 | 52 | } |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | * @param array $customAttributes |
20 | 20 | * @return \GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Validation\Validator |
21 | 21 | */ |
22 | - public function make(array $data, array $rules, array $messages = [], array $customAttributes = []); |
|
22 | + public function make( array $data, array $rules, array $messages = [ ], array $customAttributes = [ ] ); |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * Register a custom validator extension. |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | * @param string $message |
30 | 30 | * @return void |
31 | 31 | */ |
32 | - public function extend($rule, $extension, $message = null); |
|
32 | + public function extend( $rule, $extension, $message = null ); |
|
33 | 33 | |
34 | 34 | /** |
35 | 35 | * Register a custom implicit validator extension. |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * @param string $message |
40 | 40 | * @return void |
41 | 41 | */ |
42 | - public function extendImplicit($rule, $extension, $message = null); |
|
42 | + public function extendImplicit( $rule, $extension, $message = null ); |
|
43 | 43 | |
44 | 44 | /** |
45 | 45 | * Register a custom implicit validator message replacer. |
@@ -48,5 +48,5 @@ discard block |
||
48 | 48 | * @param \Closure|string $replacer |
49 | 49 | * @return void |
50 | 50 | */ |
51 | - public function replacer($rule, $replacer); |
|
51 | + public function replacer( $rule, $replacer ); |
|
52 | 52 | } |
@@ -8,8 +8,7 @@ |
||
8 | 8 | |
9 | 9 | namespace GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Validation; |
10 | 10 | |
11 | -interface Factory |
|
12 | -{ |
|
11 | +interface Factory { |
|
13 | 12 | /** |
14 | 13 | * Create a new Validator instance. |
15 | 14 | * |
@@ -12,35 +12,35 @@ |
||
12 | 12 | |
13 | 13 | interface Validator extends MessageProvider |
14 | 14 | { |
15 | - /** |
|
16 | - * Determine if the data fails the validation rules. |
|
17 | - * |
|
18 | - * @return bool |
|
19 | - */ |
|
20 | - public function fails(); |
|
15 | + /** |
|
16 | + * Determine if the data fails the validation rules. |
|
17 | + * |
|
18 | + * @return bool |
|
19 | + */ |
|
20 | + public function fails(); |
|
21 | 21 | |
22 | - /** |
|
23 | - * Get the failed validation rules. |
|
24 | - * |
|
25 | - * @return array |
|
26 | - */ |
|
27 | - public function failed(); |
|
22 | + /** |
|
23 | + * Get the failed validation rules. |
|
24 | + * |
|
25 | + * @return array |
|
26 | + */ |
|
27 | + public function failed(); |
|
28 | 28 | |
29 | - /** |
|
30 | - * Add conditions to a given field based on a Closure. |
|
31 | - * |
|
32 | - * @param string $attribute |
|
33 | - * @param string|array $rules |
|
34 | - * @param callable $callback |
|
35 | - * @return $this |
|
36 | - */ |
|
37 | - public function sometimes($attribute, $rules, callable $callback); |
|
29 | + /** |
|
30 | + * Add conditions to a given field based on a Closure. |
|
31 | + * |
|
32 | + * @param string $attribute |
|
33 | + * @param string|array $rules |
|
34 | + * @param callable $callback |
|
35 | + * @return $this |
|
36 | + */ |
|
37 | + public function sometimes($attribute, $rules, callable $callback); |
|
38 | 38 | |
39 | - /** |
|
40 | - * After an after validation callback. |
|
41 | - * |
|
42 | - * @param callable|string $callback |
|
43 | - * @return $this |
|
44 | - */ |
|
45 | - public function after($callback); |
|
39 | + /** |
|
40 | + * After an after validation callback. |
|
41 | + * |
|
42 | + * @param callable|string $callback |
|
43 | + * @return $this |
|
44 | + */ |
|
45 | + public function after($callback); |
|
46 | 46 | } |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | * @param callable $callback |
35 | 35 | * @return $this |
36 | 36 | */ |
37 | - public function sometimes($attribute, $rules, callable $callback); |
|
37 | + public function sometimes( $attribute, $rules, callable $callback ); |
|
38 | 38 | |
39 | 39 | /** |
40 | 40 | * After an after validation callback. |
@@ -42,5 +42,5 @@ discard block |
||
42 | 42 | * @param callable|string $callback |
43 | 43 | * @return $this |
44 | 44 | */ |
45 | - public function after($callback); |
|
45 | + public function after( $callback ); |
|
46 | 46 | } |
@@ -10,8 +10,7 @@ |
||
10 | 10 | |
11 | 11 | use GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Support\MessageProvider; |
12 | 12 | |
13 | -interface Validator extends MessageProvider |
|
14 | -{ |
|
13 | +interface Validator extends MessageProvider { |
|
15 | 14 | /** |
16 | 15 | * Determine if the data fails the validation rules. |
17 | 16 | * |