File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ trait Attributes
2020 /**
2121 * @return void
2222 */
23- public static function minimalAttributes ($ value = true )
23+ public static function useMinimalAttributes ($ value = true )
2424 {
2525 App::instance (self ::MINIMAL_ATTRIBUTES_KEY , $ value );
2626 }
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ public function testItThrowsWhenFieldsParameterIsNotAStringValue(): void
211211
212212 public function testItCanSpecifyMinimalAttributes (): void
213213 {
214- JsonApiResource::minimalAttributes ();
214+ JsonApiResource::useMinimalAttributes ();
215215 $ user = (new BasicModel ([
216216 'id ' => 'user-id ' ,
217217 'name ' => 'user-name ' ,
@@ -235,7 +235,7 @@ public function testItCanSpecifyMinimalAttributes(): void
235235
236236 public function testItCanRequestAttributesWhenUsingMinimalAttributes ()
237237 {
238- JsonApiResource::minimalAttributes ();
238+ JsonApiResource::useMinimalAttributes ();
239239 $ user = (new BasicModel ([
240240 'id ' => 'user-id ' ,
241241 'name ' => 'user-name ' ,
You can’t perform that action at this time.
0 commit comments