Skip to content

Commit 5adfcd5

Browse files
committed
formatting
1 parent 7701103 commit 5adfcd5

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/Illuminate/Database/Eloquent/Concerns/GuardsAttributes.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -63,19 +63,6 @@ public function mergeFillable(array $fillable)
6363
return $this;
6464
}
6565

66-
/**
67-
* Merge new guarded attributes with existing guarded attributes on the model.
68-
*
69-
* @param array $guarded
70-
* @return $this
71-
*/
72-
public function mergeGuarded(array $guarded)
73-
{
74-
$this->guarded = array_merge($this->guarded, $guarded);
75-
76-
return $this;
77-
}
78-
7966
/**
8067
* Get the guarded attributes for the model.
8168
*
@@ -99,6 +86,19 @@ public function guard(array $guarded)
9986
return $this;
10087
}
10188

89+
/**
90+
* Merge new guarded attributes with existing guarded attributes on the model.
91+
*
92+
* @param array $guarded
93+
* @return $this
94+
*/
95+
public function mergeGuarded(array $guarded)
96+
{
97+
$this->guarded = array_merge($this->guarded, $guarded);
98+
99+
return $this;
100+
}
101+
102102
/**
103103
* Disable all mass assignable restrictions.
104104
*

0 commit comments

Comments
 (0)