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