Skip to content

Commit

Permalink
Fix return type in docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
danmichaelo committed Jul 2, 2017
1 parent a6af83d commit f936606
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Record.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ public function __construct(File_MARC_Record $record)
* Returns the first record found in the file $filename, or null if no records found.
*
* @param $filename
* @return null|Collection
* @return Record
* @throws RecordNotFound
*/
public static function fromFile($filename)
{
Expand All @@ -59,7 +60,8 @@ public static function fromFile($filename)
* Returns the first record found in the string $data, or null if no records found.
*
* @param $data
* @return null|Collection
* @return Record
* @throws RecordNotFound
*/
public static function fromString($data)
{
Expand Down

0 comments on commit f936606

Please sign in to comment.