Skip to content

Commit

Permalink
PHPStan fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
bordoni committed Apr 28, 2024
1 parent 43b61a0 commit 081675f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Commands/I18n.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use GuzzleHttp\Client;
use GuzzleHttp\Psr7\Request;
use StellarWP\Pup\App;
use StellarWP\Pup;
use StellarWP\Pup\Command\Command;
use StellarWP\Pup\I18nConfig;
use Symfony\Component\Console\Input\InputInterface;
Expand Down Expand Up @@ -68,7 +69,7 @@ protected function execute( InputInterface $input, OutputInterface $output ) {
* @return array<string, array<string, string>>
*/
protected function get_default_client_options() {
$version = \StellarWP\Pup\PUP_VERSION;
$version = Pup\PUP_VERSION;

Check failure on line 72 in src/Commands/I18n.php

View workflow job for this annotation

GitHub Actions / phpstan

Constant StellarWP\Pup\PUP_VERSION not found.
return [
'headers' => [
'User-Agent' => "StellarWP PUP/{$version}",
Expand Down

0 comments on commit 081675f

Please sign in to comment.