Skip to content

Commit 2a54d20

Browse files
potskyhisorange
authored andcommitted
Update facade PHPDoc for PHPStan
When using the Facade and PHPStan : ``` ❯ make phpstan vendor/bin/sail bin phpstan analyse Note: Using configuration file /var/www/html/phpstan.neon. 990/990 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100% ------ ------------------------------------------------------------------------------------ Line app/xxx.php ------ ------------------------------------------------------------------------------------ 28 Call to an undefined static method hisorange\BrowserDetect\Facade::browserName(). 28 Call to an undefined static method hisorange\BrowserDetect\Facade::platformName(). ```
1 parent 701b1f1 commit 2a54d20

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/Facade.php

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,19 @@
2222
* @method static bool isLinux()
2323
* @method static bool isInApp()
2424
* @method static bool isBot()
25-
* @method static string mobileGrade()
26-
* @method static string deviceModel()
25+
* @method static bool isIEVersion()
26+
* @method static string browserEngine()
27+
* @method static string browserName()
28+
* @method static string browserVersion()
2729
* @method static string deviceFamily()
30+
* @method static string deviceModel()
31+
* @method static string deviceType()
32+
* @method static string mobileGrade()
33+
* @method static string platformName()
34+
* @method static string platformVersion()
35+
* @method static string userAgent()
2836
* @method static string|null platformFamily()
2937
* @method static string|null browserFamily()
30-
* @method static string browserEngine()
3138
* @method static int browserVersionMajor()
3239
* @method static int browserVersionMinor()
3340
* @method static int browserVersionPatch()

0 commit comments

Comments
 (0)