@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | |
| 31 | 31 | $emoji = strtolower($emojiName); |
| 32 | 32 | |
| 33 | - if (! array_key_exists($emoji, $this->getEmojis())) { |
|
| 33 | + if (!array_key_exists($emoji, $this->getEmojis())) { |
|
| 34 | 34 | throw UnknownEmoji::create($emoji); |
| 35 | 35 | } |
| 36 | 36 | |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | |
| 51 | 51 | $emojis = array_flip($this->getEmojis()); |
| 52 | 52 | |
| 53 | - if (! array_key_exists($unicode, $emojis)) { |
|
| 53 | + if (!array_key_exists($unicode, $emojis)) { |
|
| 54 | 54 | throw UnknownUnicode::create($unicode); |
| 55 | 55 | } |
| 56 | 56 | |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | |
| 60 | 60 | public function __call($method, $parameters) |
| 61 | 61 | { |
| 62 | - if (! method_exists(new static, $method)) { |
|
| 62 | + if (!method_exists(new static, $method)) { |
|
| 63 | 63 | throw UnknownMethod::create($method); |
| 64 | 64 | } |
| 65 | 65 | } |
@@ -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() |
| 45 | 45 | { |
| 46 | - return ['laravel-emoji']; |
|
| 46 | + return ['laravel-emoji']; |
|
| 47 | 47 | } |
| 48 | 48 | } |
| 49 | 49 | \ No newline at end of file |
@@ -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() |
| 24 | 24 | { |
| 25 | 25 | return 'laravel-emoji'; |