Skip to content

Commit 6836018

Browse files
committed
update exception
1 parent a17ac8d commit 6836018

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Illuminate/Http/Resources/JsonApi/Exceptions/ResourceIdentificationException.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@
77
class ResourceIdentificationException extends RuntimeException
88
{
99
/**
10-
* Create a new unable to determine Resource ID exception for the given resource.
10+
* Create an exception indicating we were unable to determine the resource ID for the given resource.
1111
*
1212
* @param mixed $resource
13-
* @return static
13+
* @return self
1414
*/
1515
public static function attemptingToDetermineIdFor($resource)
1616
{
1717
$resourceType = is_object($resource) ? $resource::class : gettype($resource);
1818

1919
return new self(sprintf(
20-
'Unable to resolve resource object id for [%s].', $resourceType
20+
'Unable to resolve resource object ID for [%s].', $resourceType
2121
));
2222
}
2323

2424
/**
25-
* Create a new unable to determine Resource type exception for the given resource.
25+
* Create an exception indicating we were unable to determine the resource type for the given resource.
2626
*
2727
* @param mixed $resource
2828
* @return self

0 commit comments

Comments
 (0)