diff --git a/src/Record.php b/src/Record.php index 820e509..5ec678e 100644 --- a/src/Record.php +++ b/src/Record.php @@ -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) { @@ -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) {