Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 2eaae22

Browse files
committed
wip
1 parent 6272ea4 commit 2eaae22

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/Exceptions/InvalidApp.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,12 @@
66

77
class InvalidApp extends Exception
88
{
9-
public static function notFound(int $appId)
9+
public static function notFound($appId)
1010
{
1111
return new static("Could not find app for app id `{$appId}`.");
1212
}
1313

14-
public static function appIdIsNotNumeric($appId)
15-
{
16-
return new static("Invalid app id `{$appId}` found. An app id should be numeric.");
17-
}
18-
19-
public static function valueIsRequired($name, int $appId)
14+
public static function valueIsRequired($name, $appId)
2015
{
2116
return new static("{$name} is required but was empty for app id `{$appId}`.");
2217
}

0 commit comments

Comments
 (0)