Passed
Push — master ( 0f5253...9796fd )
by Karel
08:02
created
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.
src/Models/MenuItems.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -7,21 +7,21 @@
 block discarded – undo
7 7
 class MenuItems extends Eloquent
8 8
 {
9 9
 
10
-	protected $table = null;
10
+    protected $table = null;
11 11
 
12
-	public function __construct( array $attributes = [] ){
13
-    	//parent::construct( $attributes );
14
-    	$this->table = config('menu.table_prefix') . config('menu.table_name_items');
12
+    public function __construct( array $attributes = [] ){
13
+        //parent::construct( $attributes );
14
+        $this->table = config('menu.table_prefix') . config('menu.table_name_items');
15 15
     }
16 16
 
17 17
     public function getsons($id) {
18
-		return $this -> where("parent", $id) -> get();
19
-	}
20
-	public function getall($id) {
21
-		return $this -> where("menu", $id) -> orderBy("sort", "asc")->get();
22
-	}
18
+        return $this -> where("parent", $id) -> get();
19
+    }
20
+    public function getall($id) {
21
+        return $this -> where("menu", $id) -> orderBy("sort", "asc")->get();
22
+    }
23 23
 
24
-	public static function getNextSortRoot($menu){
24
+    public static function getNextSortRoot($menu){
25 25
         return self::where('menu',$menu)->max('sort') + 1;
26 26
     }
27 27
 
Please login to merge, or discard this patch.