Passed
Branch master (c8123e)
by Karel
11:28
created
src/Models/PageBlock.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,14 +24,14 @@
 block discarded – undo
24 24
 
25 25
     public function getRenderedById($pageblock_id)
26 26
     {
27
-    	$pageblock = $this->where('id', $pageblock_id)->first();
28
-    	$new_pageblock = PageBlockRepository::getRenderedByPageBlock($pageblock);
29
-    	return $new_pageblock;
27
+        $pageblock = $this->where('id', $pageblock_id)->first();
28
+        $new_pageblock = PageBlockRepository::getRenderedByPageBlock($pageblock);
29
+        return $new_pageblock;
30 30
     }
31 31
 
32 32
     public function getById($id)
33 33
     {
34
-    	return $this->find($id);
34
+        return $this->find($id);
35 35
     }
36 36
 
37 37
     public function getCountByPageId($page_id)
Please login to merge, or discard this patch.
src/Models/Menus.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@
 block discarded – undo
9 9
     protected $table = 'menus';
10 10
 
11 11
     public function __construct( array $attributes = [] ){
12
-    	//parent::construct( $attributes );
13
-    	$this->table = config('menu.table_prefix') . config('menu.table_name_menus');
12
+        //parent::construct( $attributes );
13
+        $this->table = config('menu.table_prefix') . config('menu.table_name_menus');
14 14
     }
15 15
 
16 16
     public static function byName($name)
Please login to merge, or discard this patch.
src/Models/Content.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
 class Content extends Eloquent
10 10
 {
11
-	/**
11
+    /**
12 12
      * The attributes that are mass assignable.
13 13
      *
14 14
      * @var array
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
         $contentStart += $startDelimiterLength;
111 111
         $contentEnd = strpos($str, $endDelimiter, $contentStart);
112 112
         if (false === $contentEnd) {
113
-          break;
113
+            break;
114 114
         }
115 115
         $contents[] = substr($str, $contentStart, $contentEnd - $contentStart);
116 116
         $startFrom = $contentEnd + $endDelimiterLength;
Please login to merge, or discard this patch.
src/Models/Redirect.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 class Redirect extends Eloquent
8 8
 {
9
-	/**
9
+    /**
10 10
      * The attributes that are mass assignable.
11 11
      *
12 12
      * @var array
Please login to merge, or discard this patch.
src/Models/Template.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 class Template extends Eloquent
8 8
 {
9 9
     public function pages(){
10
-    	return $this->hasMany('Chuckbe\Chuckcms\Models\Page');
10
+        return $this->hasMany('Chuckbe\Chuckcms\Models\Page');
11 11
     }
12 12
 
13 13
     protected $casts = [
Please login to merge, or discard this patch.
src/Models/Form.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
 class Form extends Eloquent
10 10
 {
11
-	/**
11
+    /**
12 12
      * The attributes that are mass assignable.
13 13
      *
14 14
      * @var array
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
         $contentStart += $startDelimiterLength;
149 149
         $contentEnd = strpos($str, $endDelimiter, $contentStart);
150 150
         if (false === $contentEnd) {
151
-          break;
151
+            break;
152 152
         }
153 153
         $contents[] = substr($str, $contentStart, $contentEnd - $contentStart);
154 154
         $startFrom = $contentEnd + $endDelimiterLength;
Please login to merge, or discard this patch.
src/Models/Site.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 class Site extends Eloquent
8 8
 {
9
-	/**
9
+    /**
10 10
      * The attributes that are mass assignable.
11 11
      *
12 12
      * @var array
Please login to merge, or discard this patch.
src/Models/Repeater.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 class Repeater extends Eloquent
8 8
 {
9
-	/**
9
+    /**
10 10
      * The attributes that are mass assignable.
11 11
      *
12 12
      * @var array
Please login to merge, or discard this patch.
src/Models/FormEntry.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 class FormEntry extends Eloquent
8 8
 {
9
-	/**
9
+    /**
10 10
      * The attributes that are mass assignable.
11 11
      *
12 12
      * @var array
Please login to merge, or discard this patch.