Skip to content

Commit f936606

Browse files
committed
Fix return type in docstrings
1 parent a6af83d commit f936606

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Record.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ public function __construct(File_MARC_Record $record)
4242
* Returns the first record found in the file $filename, or null if no records found.
4343
*
4444
* @param $filename
45-
* @return null|Collection
45+
* @return Record
46+
* @throws RecordNotFound
4647
*/
4748
public static function fromFile($filename)
4849
{
@@ -59,7 +60,8 @@ public static function fromFile($filename)
5960
* Returns the first record found in the string $data, or null if no records found.
6061
*
6162
* @param $data
62-
* @return null|Collection
63+
* @return Record
64+
* @throws RecordNotFound
6365
*/
6466
public static function fromString($data)
6567
{

0 commit comments

Comments
 (0)