Commit 6707697
committed
fix: PHP CLI request is not handled correctly
Spark request is instance of CLIRequest, but if I remove the
`$this->request instanceof CLIRequest`, PHPStan outputs the error:
------ ------------------------------------------------------------------
Line system/CodeIgniter.php
------ ------------------------------------------------------------------
830 Call to an undefined method CodeIgniter\HTTP\Request::getArgs().
------ ------------------------------------------------------------------1 parent 0e74b8d commit 6707697
1 file changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
815 | 815 | | |
816 | 816 | | |
817 | 817 | | |
818 | | - | |
819 | | - | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
820 | 830 | | |
821 | 831 | | |
822 | 832 | | |
823 | 833 | | |
824 | 834 | | |
825 | 835 | | |
| 836 | + | |
826 | 837 | | |
827 | 838 | | |
828 | 839 | | |
| |||
0 commit comments