File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -90,25 +90,23 @@ public function except($methods)
90
90
/**
91
91
* Indicate that the resource should have creation and storage routes.
92
92
*
93
- * @param bool $creatable
94
93
* @return $this
95
94
*/
96
- public function creatable ($ creatable = true )
95
+ public function creatable ()
97
96
{
98
- $ this ->options ['creatable ' ] = $ creatable ;
97
+ $ this ->options ['creatable ' ] = true ;
99
98
100
99
return $ this ;
101
100
}
102
101
103
102
/**
104
103
* Indicate that the resource should have a deletion route.
105
104
*
106
- * @param bool $destroyable
107
105
* @return $this
108
106
*/
109
- public function destroyable ($ destroyable = true )
107
+ public function destroyable ()
110
108
{
111
- $ this ->options ['destroyable ' ] = $ destroyable ;
109
+ $ this ->options ['destroyable ' ] = true ;
112
110
113
111
return $ this ;
114
112
}
You can’t perform that action at this time.
0 commit comments