File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 22/composer.lock
33
44/.phpunit.result.cache
5+
6+ .php-cs-fixer.cache
Original file line number Diff line number Diff line change 3131 }
3232 },
3333 "scripts" : {
34- "test" : " @php vendor/bin/pest --fail-on-warning --profile"
34+ "test" : " @php vendor/bin/pest --fail-on-warning --profile" ,
35+ "lint" : " vendor/bin/php-cs-fixer fix ."
3536 },
3637 "require" : {
3738 "guzzlehttp/guzzle" : " ^7.7" ,
3839 "php" : " >=8.0"
3940 },
4041 "require-dev" : {
42+ "friendsofphp/php-cs-fixer" : " ^3.46" ,
4143 "pestphp/pest" : " ^2.8"
4244 },
4345 "config" : {
Original file line number Diff line number Diff line change 44
55namespace TelegramSDK \BotAPI \Exception ;
66
7- class InvalidUpdateException extends \InvalidArgumentException{ }
7+ class InvalidUpdateException extends \InvalidArgumentException
8+ {
9+ }
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public function __construct(
4040 ?int $ updatesMethod = null ,
4141 string $ apiURL = self ::DEFAULT_API_URL ,
4242 bool $ replyWithPayload = false
43- ){
43+ ) {
4444 $ this ->token = $ token ;
4545 $ this ->updatesMethod = $ updatesMethod ?? -1 ; // No update method, will throw an exception on $this->updates()
4646 $ this ->apiURL = $ apiURL ;
You can’t perform that action at this time.
0 commit comments