Completed
Push — master ( 963b04...ea61d1 )
by David
02:37
created
app/Exceptions/Handler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 			die(
31 31
 				"File: " . $e->getFile() . 
32 32
 				"\nLine: " . $e->getLine() . 
33
-				"\nMessage: " . $e->getMessage()  . 
33
+				"\nMessage: " . $e->getMessage() . 
34 34
 				"\n\nTrace:\n" . substr($e->getTraceAsString(), 0, 5000)
35 35
 			);
36 36
 		}
Please login to merge, or discard this patch.
app/Http/Controllers/API/V1/PageController.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -28,20 +28,20 @@
 block discarded – undo
28 28
 	 */
29 29
 	protected $collectionName = 'pages';
30 30
 
31
-    /**
32
-     * Returns a page and associated detail and template data
33
-     * 
34
-     * @param  int $id
35
-     * @return \Illuminate\Http\JsonResponse
36
-     */
37
-    public function showWithDetail($id)
38
-    {        
39
-        $this->manager->parseIncludes([
40
-        	'detail',
41
-        	'detail.template_detail',
42
-        ]);
31
+	/**
32
+	 * Returns a page and associated detail and template data
33
+	 * 
34
+	 * @param  int $id
35
+	 * @return \Illuminate\Http\JsonResponse
36
+	 */
37
+	public function showWithDetail($id)
38
+	{        
39
+		$this->manager->parseIncludes([
40
+			'detail',
41
+			'detail.template_detail',
42
+		]);
43 43
 
44
-        return $this->show($id);
45
-    }
44
+		return $this->show($id);
45
+	}
46 46
 
47 47
 }
48 48
\ No newline at end of file
Please login to merge, or discard this patch.
app/LaravelRestCms/Page/PageDetail.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 	/**
32 32
 	 * Rules to validate when creating a model
33 33
 	 * 
34
-	* @var array
34
+	 * @var array
35 35
 	 */
36 36
 	protected static $createRules = [	
37 37
 		'page_id' => 'integer',
@@ -45,8 +45,8 @@  discard block
 block discarded – undo
45 45
 	 * @return \Illuminate\Database\Eloquent\Relations\HasOne
46 46
 	 */
47 47
 	public function templateDetail()
48
-    {
49
-        return $this->hasMany(TemplateDetail::class, 'id', 'template_detail_id');
50
-    }
48
+	{
49
+		return $this->hasMany(TemplateDetail::class, 'id', 'template_detail_id');
50
+	}
51 51
 
52 52
 }
Please login to merge, or discard this patch.