Skip to content

Commit 69ce9b1

Browse files
authored
Merge pull request #15 from atfromhome/fixing-bugs
Fixing wrong condition
2 parents 834f835 + 7987fcb commit 69ce9b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ModelUpload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public static function useImportStartCell(string $importStartCell): void
3030
*/
3131
public static function useModelRecordImporter(string $importerClass): void
3232
{
33-
\throw_if(
33+
\throw_unless(
3434
\class_exists($importerClass),
3535
new \InvalidArgumentException('Invalid concrete class')
3636
);

0 commit comments

Comments
 (0)