@@ -15,11 +15,11 @@ |
||
15 | 15 | |
16 | 16 | class Emoji extends Facade { |
17 | 17 | |
18 | - /** |
|
19 | - * Get the registered name of the component. |
|
20 | - * |
|
21 | - * @return string |
|
22 | - */ |
|
18 | + /** |
|
19 | + * Get the registered name of the component. |
|
20 | + * |
|
21 | + * @return string |
|
22 | + */ |
|
23 | 23 | protected static function getFacadeAccessor() : string |
24 | 24 | { |
25 | 25 | return 'laravel-emoji'; |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | |
40 | 40 | $emoji = strtolower($emojiName); |
41 | 41 | |
42 | - if (! array_key_exists($emoji, $this->getEmojis())) { |
|
42 | + if (!array_key_exists($emoji, $this->getEmojis())) { |
|
43 | 43 | throw UnknownEmoji::create($emoji); |
44 | 44 | } |
45 | 45 | |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | |
73 | 73 | $emojis = array_flip($this->getEmojis()); |
74 | 74 | |
75 | - if (! array_key_exists($unicode, $emojis)) { |
|
75 | + if (!array_key_exists($unicode, $emojis)) { |
|
76 | 76 | throw UnknownUnicode::create($unicode); |
77 | 77 | } |
78 | 78 | |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | */ |
88 | 88 | public function __call($method, $parameters) |
89 | 89 | { |
90 | - if (! method_exists(new static, $method)) { |
|
90 | + if (!method_exists(new static, $method)) { |
|
91 | 91 | throw UnknownMethod::create($method); |
92 | 92 | } |
93 | 93 | } |
@@ -24,25 +24,25 @@ |
||
24 | 24 | |
25 | 25 | |
26 | 26 | /** |
27 | - * Register the application services. |
|
28 | - * |
|
29 | - * @return void |
|
30 | - */ |
|
27 | + * Register the application services. |
|
28 | + * |
|
29 | + * @return void |
|
30 | + */ |
|
31 | 31 | public function register() |
32 | 32 | { |
33 | 33 | $this->app->bind('laravel-emoji', function() { |
34 | 34 | |
35 | - return new Emoji; |
|
35 | + return new Emoji; |
|
36 | 36 | |
37 | 37 | }); |
38 | 38 | } |
39 | 39 | |
40 | 40 | /** |
41 | - * Get the services provided by the provider |
|
42 | - * @return array |
|
43 | - */ |
|
41 | + * Get the services provided by the provider |
|
42 | + * @return array |
|
43 | + */ |
|
44 | 44 | public function provides() : array |
45 | 45 | { |
46 | - return ['laravel-emoji']; |
|
46 | + return ['laravel-emoji']; |
|
47 | 47 | } |
48 | 48 | } |
49 | 49 | \ No newline at end of file |