Skip to content

Commit

Permalink
Hide intelephense warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
8ctopus committed Apr 30, 2024
1 parent 7b0cfd4 commit 67499c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions demo.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
}

// create invoice
/** @disregard P1013 */
$invoice = (new Invoice([
'rootDir' => __DIR__ . DIRECTORY_SEPARATOR . 'resources',
'templatesDir' => 'templates',
Expand Down
1 change: 1 addition & 0 deletions tests/Unit/CompanyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public function testBase() : void
'email' => 'test@yandex.ru',
];

/** @disregard P1013 */
$company = (new Company())
->setName($object->name)
->setWebsite($object->website)
Expand Down
1 change: 1 addition & 0 deletions tests/Unit/PersonTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public function testBase() : void
'email' => 'test@yandex.ru',
];

/** @disregard P1013 */
$person = (new Person())
->setFirstName($object->firstName)
->setLastName($object->lastName)
Expand Down

0 comments on commit 67499c7

Please sign in to comment.