@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | |
30 | 30 | /** |
31 | 31 | * Transform the programming quotes into a Collection |
32 | - * @return Unicodeveloper\Quotes\Quotes |
|
32 | + * @return Quotes |
|
33 | 33 | */ |
34 | 34 | public function programming() |
35 | 35 | { |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | |
41 | 41 | /** |
42 | 42 | * Transform all the design quotes into a Collection |
43 | - * @return Unicodeveloper\Quotes\Quotes |
|
43 | + * @return Quotes |
|
44 | 44 | */ |
45 | 45 | public function design() |
46 | 46 | { |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | |
52 | 52 | /** |
53 | 53 | * Get all Djkhaled Keys To Success #BlessUp #AnotherOne #TheyDontWantMeToWriteThisPackage |
54 | - * @return Unicodeveloper\Quotes\Quotes |
|
54 | + * @return Quotes |
|
55 | 55 | */ |
56 | 56 | public function djkhaled() |
57 | 57 | { |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Unicodeveloper\Quotes; |
4 | 4 | |
5 | -use GuzzleHttp\Client; |
|
6 | 5 | use Illuminate\Support\Collection; |
7 | 6 | |
8 | 7 | class Quotes { |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | */ |
21 | 21 | private function getQuotes($category = null) |
22 | 22 | { |
23 | - if(is_null($category)) { |
|
23 | + if (is_null($category)) { |
|
24 | 24 | return require_once("Quotes/programming.php"); |
25 | 25 | } |
26 | 26 | |
@@ -93,10 +93,10 @@ discard block |
||
93 | 93 | */ |
94 | 94 | public function blessUp() |
95 | 95 | { |
96 | - $blessUp = []; |
|
96 | + $blessUp = [ ]; |
|
97 | 97 | |
98 | - foreach($this->quotes->all() as $keys => $success) { |
|
99 | - if(preg_match('/\bbless up\b/i', $success)) { |
|
98 | + foreach ($this->quotes->all() as $keys => $success) { |
|
99 | + if (preg_match('/\bbless up\b/i', $success)) { |
|
100 | 100 | array_push($blessUp, $success); |
101 | 101 | } |
102 | 102 | } |
@@ -6,10 +6,10 @@ |
||
6 | 6 | |
7 | 7 | class Quotes extends Facade { |
8 | 8 | /** |
9 | - * Get the registered name of the component. |
|
10 | - * |
|
11 | - * @return string |
|
12 | - */ |
|
9 | + * Get the registered name of the component. |
|
10 | + * |
|
11 | + * @return string |
|
12 | + */ |
|
13 | 13 | protected static function getFacadeAccessor() |
14 | 14 | { |
15 | 15 | return 'laravel-quotes'; |
@@ -15,10 +15,10 @@ discard block |
||
15 | 15 | protected $defer = false; |
16 | 16 | |
17 | 17 | /** |
18 | - * Register the application services. |
|
19 | - * |
|
20 | - * @return void |
|
21 | - */ |
|
18 | + * Register the application services. |
|
19 | + * |
|
20 | + * @return void |
|
21 | + */ |
|
22 | 22 | public function register() |
23 | 23 | { |
24 | 24 | $this->app->bind('laravel-quotes', function() { |
@@ -29,9 +29,9 @@ discard block |
||
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
32 | - * Get the services provided by the provider |
|
33 | - * @return array |
|
34 | - */ |
|
32 | + * Get the services provided by the provider |
|
33 | + * @return array |
|
34 | + */ |
|
35 | 35 | public function provides() |
36 | 36 | { |
37 | 37 | return ['laravel-quotes']; |
@@ -34,6 +34,6 @@ |
||
34 | 34 | */ |
35 | 35 | public function provides() |
36 | 36 | { |
37 | - return ['laravel-quotes']; |
|
37 | + return [ 'laravel-quotes' ]; |
|
38 | 38 | } |
39 | 39 | } |
40 | 40 | \ No newline at end of file |