@@ -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 | { |
@@ -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 | } |
@@ -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 |