Completed
Push — master ( 5e0312...0c80f2 )
by Davide
10:12 queued 05:07
created
src/QuoteFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     public function getQuoteOfTheDay()
29 29
     {
30 30
         $numberOfQuotesInDB = Quote::count();
31
-        $quoteOfTheDayNumber = rand(1,$numberOfQuotesInDB);
31
+        $quoteOfTheDayNumber = rand(1, $numberOfQuotesInDB);
32 32
         
33 33
         $quotes = Quote::all();
34 34
         
@@ -37,14 +37,14 @@  discard block
 block discarded – undo
37 37
     
38 38
     
39 39
     
40
-    public function setCookie(Request $request){
40
+    public function setCookie(Request $request) {
41 41
         $minutes = 60;
42 42
         $response = new Response('Set Cookie');
43 43
         $response->withCookie(cookie('quoteOfTheDayId', 'MyValue', $minutes));
44 44
     return $response;
45 45
     }
46 46
 
47
-    public function getCookie(Request $request){
47
+    public function getCookie(Request $request) {
48 48
         $value = $request->cookie('quoteOfTheDayId');
49 49
         echo $value;
50 50
     }
Please login to merge, or discard this patch.