Skip to content

Commit 6fb5b9b

Browse files
authored
Merge pull request #310 from greg0ire/patch-1
Document how to obtain a 404
2 parents 2ff73af + f515e95 commit 6fb5b9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/data-providers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ final class BlogPostItemDataProvider implements ItemDataProviderInterface
9595
throw new ResourceClassNotSupportedException();
9696
}
9797
98-
// Retrieve the blog post item from somewhere
98+
// Retrieve the blog post item from somewhere then return it or null if not found
9999
return new BlogPost($id);
100100
}
101101
}

0 commit comments

Comments
 (0)