File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Illuminate/Http/Resources/JsonApi/Exceptions Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 77class 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
You can’t perform that action at this time.
0 commit comments