Skip to content

Commit f515e95

Browse files
authored
Document how to obtain a 404
1 parent 6b70a9d commit f515e95

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)