Skip to content

Commit a998541

Browse files
committed
formatting
1 parent 47efeb8 commit a998541

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Illuminate/Http/Resources/JsonApi/Concerns/ResolvesJsonApiElements.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ protected function resolveResourceMetaInformation(JsonApiRequest $request): arra
372372
*
373373
* @return $this
374374
*/
375-
public function withRequestQueryString(bool $value = true)
375+
public function respectFieldsAndIncludesInQueryString(bool $value = true)
376376
{
377377
$this->usesRequestQueryString = $value;
378378

@@ -384,9 +384,9 @@ public function withRequestQueryString(bool $value = true)
384384
*
385385
* @return $this
386386
*/
387-
public function withoutRequestQueryString()
387+
public function ignoreFieldsAndIncludesInQueryString()
388388
{
389-
return $this->withRequestQueryString(false);
389+
return $this->respectFieldsAndIncludesFromQueryString(false);
390390
}
391391

392392
/**

0 commit comments

Comments
 (0)