Skip to content

Commit

Permalink
Assignment for a given subject can be null (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
hungneox authored May 24, 2018
1 parent 88f5158 commit 0d31b44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Overseer.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public function saveAssignment(Assignment $assignment)
* @param string $subjectId
* @param string $subjectName
*
* @return Assignment
* @return Assignment|null
*/
public function getAssignment($subjectId, $subjectName)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/AssignmentStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function deleteAssignment(Assignment $assignment);
* @param mixed $subjectId
* @param string $subjectName
*
* @return Assignment
* @return Assignment|null
*/
public function getAssignment($subjectId, $subjectName);

Expand Down

0 comments on commit 0d31b44

Please sign in to comment.