Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Commit

Permalink
Change variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
VGirol committed Apr 3, 2019
1 parent cf392e7 commit 0824f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Asserts/AssertRelationshipsObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static function assertIsValidRelationshipObject($relationship, $strict)

if (isset($relationship['links'])) {
$links = $relationship['links'];
$withPagination = isset($relationship['data']) && static::isArrayOfObjects($data);
$withPagination = isset($relationship['data']) && static::isArrayOfObjects($relationship['data']);
static::assertIsValidRelationshipLinksObject($links, $withPagination, $strict);
}

Expand Down

0 comments on commit 0824f6d

Please sign in to comment.