@@ -10,19 +10,19 @@ |
||
10 | 10 | |
11 | 11 | interface Application |
12 | 12 | { |
13 | - /** |
|
14 | - * Call a console application command. |
|
15 | - * |
|
16 | - * @param string $command |
|
17 | - * @param array $parameters |
|
18 | - * @return int |
|
19 | - */ |
|
20 | - public function call($command, array $parameters = []); |
|
13 | + /** |
|
14 | + * Call a console application command. |
|
15 | + * |
|
16 | + * @param string $command |
|
17 | + * @param array $parameters |
|
18 | + * @return int |
|
19 | + */ |
|
20 | + public function call($command, array $parameters = []); |
|
21 | 21 | |
22 | - /** |
|
23 | - * Get the output from the last command. |
|
24 | - * |
|
25 | - * @return string |
|
26 | - */ |
|
27 | - public function output(); |
|
22 | + /** |
|
23 | + * Get the output from the last command. |
|
24 | + * |
|
25 | + * @return string |
|
26 | + */ |
|
27 | + public function output(); |
|
28 | 28 | } |
@@ -17,7 +17,7 @@ |
||
17 | 17 | * @param array $parameters |
18 | 18 | * @return int |
19 | 19 | */ |
20 | - public function call($command, array $parameters = []); |
|
20 | + public function call( $command, array $parameters = [ ] ); |
|
21 | 21 | |
22 | 22 | /** |
23 | 23 | * Get the output from the last command. |
@@ -8,8 +8,7 @@ |
||
8 | 8 | |
9 | 9 | namespace GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Console; |
10 | 10 | |
11 | -interface Application |
|
12 | -{ |
|
11 | +interface Application { |
|
13 | 12 | /** |
14 | 13 | * Call a console application command. |
15 | 14 | * |
@@ -10,54 +10,54 @@ |
||
10 | 10 | |
11 | 11 | interface Repository |
12 | 12 | { |
13 | - /** |
|
14 | - * Determine if the given configuration value exists. |
|
15 | - * |
|
16 | - * @param string $key |
|
17 | - * @return bool |
|
18 | - */ |
|
19 | - public function has($key); |
|
13 | + /** |
|
14 | + * Determine if the given configuration value exists. |
|
15 | + * |
|
16 | + * @param string $key |
|
17 | + * @return bool |
|
18 | + */ |
|
19 | + public function has($key); |
|
20 | 20 | |
21 | - /** |
|
22 | - * Get the specified configuration value. |
|
23 | - * |
|
24 | - * @param string $key |
|
25 | - * @param mixed $default |
|
26 | - * @return mixed |
|
27 | - */ |
|
28 | - public function get($key, $default = null); |
|
21 | + /** |
|
22 | + * Get the specified configuration value. |
|
23 | + * |
|
24 | + * @param string $key |
|
25 | + * @param mixed $default |
|
26 | + * @return mixed |
|
27 | + */ |
|
28 | + public function get($key, $default = null); |
|
29 | 29 | |
30 | - /** |
|
31 | - * Get all of the configuration items for the application. |
|
32 | - * |
|
33 | - * @return array |
|
34 | - */ |
|
35 | - public function all(); |
|
30 | + /** |
|
31 | + * Get all of the configuration items for the application. |
|
32 | + * |
|
33 | + * @return array |
|
34 | + */ |
|
35 | + public function all(); |
|
36 | 36 | |
37 | - /** |
|
38 | - * Set a given configuration value. |
|
39 | - * |
|
40 | - * @param array|string $key |
|
41 | - * @param mixed $value |
|
42 | - * @return void |
|
43 | - */ |
|
44 | - public function set($key, $value = null); |
|
37 | + /** |
|
38 | + * Set a given configuration value. |
|
39 | + * |
|
40 | + * @param array|string $key |
|
41 | + * @param mixed $value |
|
42 | + * @return void |
|
43 | + */ |
|
44 | + public function set($key, $value = null); |
|
45 | 45 | |
46 | - /** |
|
47 | - * Prepend a value onto an array configuration value. |
|
48 | - * |
|
49 | - * @param string $key |
|
50 | - * @param mixed $value |
|
51 | - * @return void |
|
52 | - */ |
|
53 | - public function prepend($key, $value); |
|
46 | + /** |
|
47 | + * Prepend a value onto an array configuration value. |
|
48 | + * |
|
49 | + * @param string $key |
|
50 | + * @param mixed $value |
|
51 | + * @return void |
|
52 | + */ |
|
53 | + public function prepend($key, $value); |
|
54 | 54 | |
55 | - /** |
|
56 | - * Push a value onto an array configuration value. |
|
57 | - * |
|
58 | - * @param string $key |
|
59 | - * @param mixed $value |
|
60 | - * @return void |
|
61 | - */ |
|
62 | - public function push($key, $value); |
|
55 | + /** |
|
56 | + * Push a value onto an array configuration value. |
|
57 | + * |
|
58 | + * @param string $key |
|
59 | + * @param mixed $value |
|
60 | + * @return void |
|
61 | + */ |
|
62 | + public function push($key, $value); |
|
63 | 63 | } |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | * @param string $key |
17 | 17 | * @return bool |
18 | 18 | */ |
19 | - public function has($key); |
|
19 | + public function has( $key ); |
|
20 | 20 | |
21 | 21 | /** |
22 | 22 | * Get the specified configuration value. |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * @param mixed $default |
26 | 26 | * @return mixed |
27 | 27 | */ |
28 | - public function get($key, $default = null); |
|
28 | + public function get( $key, $default = null ); |
|
29 | 29 | |
30 | 30 | /** |
31 | 31 | * Get all of the configuration items for the application. |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | * @param mixed $value |
42 | 42 | * @return void |
43 | 43 | */ |
44 | - public function set($key, $value = null); |
|
44 | + public function set( $key, $value = null ); |
|
45 | 45 | |
46 | 46 | /** |
47 | 47 | * Prepend a value onto an array configuration value. |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | * @param mixed $value |
51 | 51 | * @return void |
52 | 52 | */ |
53 | - public function prepend($key, $value); |
|
53 | + public function prepend( $key, $value ); |
|
54 | 54 | |
55 | 55 | /** |
56 | 56 | * Push a value onto an array configuration value. |
@@ -59,5 +59,5 @@ discard block |
||
59 | 59 | * @param mixed $value |
60 | 60 | * @return void |
61 | 61 | */ |
62 | - public function push($key, $value); |
|
62 | + public function push( $key, $value ); |
|
63 | 63 | } |
@@ -8,8 +8,7 @@ |
||
8 | 8 | |
9 | 9 | namespace GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Config; |
10 | 10 | |
11 | -interface Repository |
|
12 | -{ |
|
11 | +interface Repository { |
|
13 | 12 | /** |
14 | 13 | * Determine if the given configuration value exists. |
15 | 14 | * |
@@ -4,10 +4,10 @@ |
||
4 | 4 | |
5 | 5 | interface Arrayable |
6 | 6 | { |
7 | - /** |
|
8 | - * Get the instance as an array. |
|
9 | - * |
|
10 | - * @return array |
|
11 | - */ |
|
12 | - public function toArray(); |
|
7 | + /** |
|
8 | + * Get the instance as an array. |
|
9 | + * |
|
10 | + * @return array |
|
11 | + */ |
|
12 | + public function toArray(); |
|
13 | 13 | } |
@@ -8,8 +8,7 @@ |
||
8 | 8 | |
9 | 9 | namespace GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Support; |
10 | 10 | |
11 | -interface Arrayable |
|
12 | -{ |
|
11 | +interface Arrayable { |
|
13 | 12 | /** |
14 | 13 | * Get the instance as an array. |
15 | 14 | * |
@@ -4,11 +4,11 @@ |
||
4 | 4 | |
5 | 5 | interface Jsonable |
6 | 6 | { |
7 | - /** |
|
8 | - * Convert the object to its JSON representation. |
|
9 | - * |
|
10 | - * @param int $options |
|
11 | - * @return string |
|
12 | - */ |
|
13 | - public function toJson($options = 0); |
|
7 | + /** |
|
8 | + * Convert the object to its JSON representation. |
|
9 | + * |
|
10 | + * @param int $options |
|
11 | + * @return string |
|
12 | + */ |
|
13 | + public function toJson($options = 0); |
|
14 | 14 | } |
@@ -10,5 +10,5 @@ |
||
10 | 10 | * @param int $options |
11 | 11 | * @return string |
12 | 12 | */ |
13 | - public function toJson($options = 0); |
|
13 | + public function toJson( $options = 0 ); |
|
14 | 14 | } |
@@ -8,8 +8,7 @@ |
||
8 | 8 | |
9 | 9 | namespace GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Support; |
10 | 10 | |
11 | -interface Jsonable |
|
12 | -{ |
|
11 | +interface Jsonable { |
|
13 | 12 | /** |
14 | 13 | * Convert the object to its JSON representation. |
15 | 14 | * |
@@ -4,10 +4,10 @@ |
||
4 | 4 | |
5 | 5 | interface Htmlable |
6 | 6 | { |
7 | - /** |
|
8 | - * Get content as a string of HTML. |
|
9 | - * |
|
10 | - * @return string |
|
11 | - */ |
|
12 | - public function toHtml(); |
|
7 | + /** |
|
8 | + * Get content as a string of HTML. |
|
9 | + * |
|
10 | + * @return string |
|
11 | + */ |
|
12 | + public function toHtml(); |
|
13 | 13 | } |
@@ -8,8 +8,7 @@ |
||
8 | 8 | |
9 | 9 | namespace GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Support; |
10 | 10 | |
11 | -interface Htmlable |
|
12 | -{ |
|
11 | +interface Htmlable { |
|
13 | 12 | /** |
14 | 13 | * Get content as a string of HTML. |
15 | 14 | * |
@@ -10,10 +10,10 @@ |
||
10 | 10 | |
11 | 11 | interface MessageProvider |
12 | 12 | { |
13 | - /** |
|
14 | - * Get the messages for the instance. |
|
15 | - * |
|
16 | - * @return \GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Support\MessageBag |
|
17 | - */ |
|
18 | - public function getMessageBag(); |
|
13 | + /** |
|
14 | + * Get the messages for the instance. |
|
15 | + * |
|
16 | + * @return \GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Support\MessageBag |
|
17 | + */ |
|
18 | + public function getMessageBag(); |
|
19 | 19 | } |
@@ -8,8 +8,7 @@ |
||
8 | 8 | |
9 | 9 | namespace GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Support; |
10 | 10 | |
11 | -interface MessageProvider |
|
12 | -{ |
|
11 | +interface MessageProvider { |
|
13 | 12 | /** |
14 | 13 | * Get the messages for the instance. |
15 | 14 | * |
@@ -10,90 +10,90 @@ |
||
10 | 10 | |
11 | 11 | interface MessageBag extends Arrayable |
12 | 12 | { |
13 | - /** |
|
14 | - * Get the keys present in the message bag. |
|
15 | - * |
|
16 | - * @return array |
|
17 | - */ |
|
18 | - public function keys(); |
|
13 | + /** |
|
14 | + * Get the keys present in the message bag. |
|
15 | + * |
|
16 | + * @return array |
|
17 | + */ |
|
18 | + public function keys(); |
|
19 | 19 | |
20 | - /** |
|
21 | - * Add a message to the bag. |
|
22 | - * |
|
23 | - * @param string $key |
|
24 | - * @param string $message |
|
25 | - * @return $this |
|
26 | - */ |
|
27 | - public function add($key, $message); |
|
20 | + /** |
|
21 | + * Add a message to the bag. |
|
22 | + * |
|
23 | + * @param string $key |
|
24 | + * @param string $message |
|
25 | + * @return $this |
|
26 | + */ |
|
27 | + public function add($key, $message); |
|
28 | 28 | |
29 | - /** |
|
30 | - * Merge a new array of messages into the bag. |
|
31 | - * |
|
32 | - * @param \GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Support\MessageProvider|array $messages |
|
33 | - * @return $this |
|
34 | - */ |
|
35 | - public function merge($messages); |
|
29 | + /** |
|
30 | + * Merge a new array of messages into the bag. |
|
31 | + * |
|
32 | + * @param \GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Support\MessageProvider|array $messages |
|
33 | + * @return $this |
|
34 | + */ |
|
35 | + public function merge($messages); |
|
36 | 36 | |
37 | - /** |
|
38 | - * Determine if messages exist for a given key. |
|
39 | - * |
|
40 | - * @param string|array $key |
|
41 | - * @return bool |
|
42 | - */ |
|
43 | - public function has($key); |
|
37 | + /** |
|
38 | + * Determine if messages exist for a given key. |
|
39 | + * |
|
40 | + * @param string|array $key |
|
41 | + * @return bool |
|
42 | + */ |
|
43 | + public function has($key); |
|
44 | 44 | |
45 | - /** |
|
46 | - * Get the first message from the bag for a given key. |
|
47 | - * |
|
48 | - * @param string $key |
|
49 | - * @param string $format |
|
50 | - * @return string |
|
51 | - */ |
|
52 | - public function first($key = null, $format = null); |
|
45 | + /** |
|
46 | + * Get the first message from the bag for a given key. |
|
47 | + * |
|
48 | + * @param string $key |
|
49 | + * @param string $format |
|
50 | + * @return string |
|
51 | + */ |
|
52 | + public function first($key = null, $format = null); |
|
53 | 53 | |
54 | - /** |
|
55 | - * Get all of the messages from the bag for a given key. |
|
56 | - * |
|
57 | - * @param string $key |
|
58 | - * @param string $format |
|
59 | - * @return array |
|
60 | - */ |
|
61 | - public function get($key, $format = null); |
|
54 | + /** |
|
55 | + * Get all of the messages from the bag for a given key. |
|
56 | + * |
|
57 | + * @param string $key |
|
58 | + * @param string $format |
|
59 | + * @return array |
|
60 | + */ |
|
61 | + public function get($key, $format = null); |
|
62 | 62 | |
63 | - /** |
|
64 | - * Get all of the messages for every key in the bag. |
|
65 | - * |
|
66 | - * @param string $format |
|
67 | - * @return array |
|
68 | - */ |
|
69 | - public function all($format = null); |
|
63 | + /** |
|
64 | + * Get all of the messages for every key in the bag. |
|
65 | + * |
|
66 | + * @param string $format |
|
67 | + * @return array |
|
68 | + */ |
|
69 | + public function all($format = null); |
|
70 | 70 | |
71 | - /** |
|
72 | - * Get the default message format. |
|
73 | - * |
|
74 | - * @return string |
|
75 | - */ |
|
76 | - public function getFormat(); |
|
71 | + /** |
|
72 | + * Get the default message format. |
|
73 | + * |
|
74 | + * @return string |
|
75 | + */ |
|
76 | + public function getFormat(); |
|
77 | 77 | |
78 | - /** |
|
79 | - * Set the default message format. |
|
80 | - * |
|
81 | - * @param string $format |
|
82 | - * @return $this |
|
83 | - */ |
|
84 | - public function setFormat($format = ':message'); |
|
78 | + /** |
|
79 | + * Set the default message format. |
|
80 | + * |
|
81 | + * @param string $format |
|
82 | + * @return $this |
|
83 | + */ |
|
84 | + public function setFormat($format = ':message'); |
|
85 | 85 | |
86 | - /** |
|
87 | - * Determine if the message bag has any messages. |
|
88 | - * |
|
89 | - * @return bool |
|
90 | - */ |
|
91 | - public function isEmpty(); |
|
86 | + /** |
|
87 | + * Determine if the message bag has any messages. |
|
88 | + * |
|
89 | + * @return bool |
|
90 | + */ |
|
91 | + public function isEmpty(); |
|
92 | 92 | |
93 | - /** |
|
94 | - * Get the number of messages in the container. |
|
95 | - * |
|
96 | - * @return int |
|
97 | - */ |
|
98 | - public function count(); |
|
93 | + /** |
|
94 | + * Get the number of messages in the container. |
|
95 | + * |
|
96 | + * @return int |
|
97 | + */ |
|
98 | + public function count(); |
|
99 | 99 | } |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | * @param string $message |
25 | 25 | * @return $this |
26 | 26 | */ |
27 | - public function add($key, $message); |
|
27 | + public function add( $key, $message ); |
|
28 | 28 | |
29 | 29 | /** |
30 | 30 | * Merge a new array of messages into the bag. |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | * @param \GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Support\MessageProvider|array $messages |
33 | 33 | * @return $this |
34 | 34 | */ |
35 | - public function merge($messages); |
|
35 | + public function merge( $messages ); |
|
36 | 36 | |
37 | 37 | /** |
38 | 38 | * Determine if messages exist for a given key. |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | * @param string|array $key |
41 | 41 | * @return bool |
42 | 42 | */ |
43 | - public function has($key); |
|
43 | + public function has( $key ); |
|
44 | 44 | |
45 | 45 | /** |
46 | 46 | * Get the first message from the bag for a given key. |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | * @param string $format |
50 | 50 | * @return string |
51 | 51 | */ |
52 | - public function first($key = null, $format = null); |
|
52 | + public function first( $key = null, $format = null ); |
|
53 | 53 | |
54 | 54 | /** |
55 | 55 | * Get all of the messages from the bag for a given key. |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * @param string $format |
59 | 59 | * @return array |
60 | 60 | */ |
61 | - public function get($key, $format = null); |
|
61 | + public function get( $key, $format = null ); |
|
62 | 62 | |
63 | 63 | /** |
64 | 64 | * Get all of the messages for every key in the bag. |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * @param string $format |
67 | 67 | * @return array |
68 | 68 | */ |
69 | - public function all($format = null); |
|
69 | + public function all( $format = null ); |
|
70 | 70 | |
71 | 71 | /** |
72 | 72 | * Get the default message format. |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | * @param string $format |
82 | 82 | * @return $this |
83 | 83 | */ |
84 | - public function setFormat($format = ':message'); |
|
84 | + public function setFormat( $format = ':message' ); |
|
85 | 85 | |
86 | 86 | /** |
87 | 87 | * Determine if the message bag has any messages. |
@@ -8,8 +8,7 @@ |
||
8 | 8 | |
9 | 9 | namespace GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Support; |
10 | 10 | |
11 | -interface MessageBag extends Arrayable |
|
12 | -{ |
|
11 | +interface MessageBag extends Arrayable { |
|
13 | 12 | /** |
14 | 13 | * Get the keys present in the message bag. |
15 | 14 | * |
@@ -4,10 +4,10 @@ |
||
4 | 4 | |
5 | 5 | interface Renderable |
6 | 6 | { |
7 | - /** |
|
8 | - * Get the evaluated contents of the object. |
|
9 | - * |
|
10 | - * @return string |
|
11 | - */ |
|
12 | - public function render(); |
|
7 | + /** |
|
8 | + * Get the evaluated contents of the object. |
|
9 | + * |
|
10 | + * @return string |
|
11 | + */ |
|
12 | + public function render(); |
|
13 | 13 | } |
@@ -8,8 +8,7 @@ |
||
8 | 8 | |
9 | 9 | namespace GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Support; |
10 | 10 | |
11 | -interface Renderable |
|
12 | -{ |
|
11 | +interface Renderable { |
|
13 | 12 | /** |
14 | 13 | * Get the evaluated contents of the object. |
15 | 14 | * |
@@ -4,5 +4,5 @@ |
||
4 | 4 | |
5 | 5 | interface ShouldBroadcastNow extends ShouldBroadcast |
6 | 6 | { |
7 | - // |
|
7 | + // |
|
8 | 8 | } |
@@ -8,7 +8,6 @@ |
||
8 | 8 | |
9 | 9 | namespace GravityKit\GravityView\Foundation\ThirdParty\Illuminate\Contracts\Broadcasting; |
10 | 10 | |
11 | -interface ShouldBroadcastNow extends ShouldBroadcast |
|
12 | -{ |
|
11 | +interface ShouldBroadcastNow extends ShouldBroadcast { |
|
13 | 12 | // |
14 | 13 | } |