Skip to content

Commit

Permalink
Исправление документирования кода
Browse files Browse the repository at this point in the history
  • Loading branch information
npub committed Nov 1, 2021
1 parent 5c41bd0 commit 21d2522
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Twig/GosTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ final class GosTwigExtension extends AbstractExtension
/**
* Фильтры расширения
*
* @return array<int, TwigFilter>
* @return array<TwigFilter>
*/
public function getFilters(): array
{
Expand All @@ -31,7 +31,7 @@ public function getFilters(): array
/**
* Тесты расширения
*
* @return array<int, TwigTest>
* @return array<TwigTest>
*/
public function getTests(): array
{
Expand Down
2 changes: 1 addition & 1 deletion tests/SnilsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function testValidation(Snils|string|int|null $snils, string|null $format
/**
* Контрольные суммы различных СНИЛСов
*
* @return array<int, mixed>
* @return array<array<mixed>>
*/
public function snilsChecksumsProvider(): array
{
Expand Down
3 changes: 2 additions & 1 deletion tests/Twig/GosExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
namespace Npub\Gos\Tests\Twig;

use Npub\Gos\Twig\GosTwigExtension;
use Twig\Extension\ExtensionInterface;
use Twig\Test\IntegrationTestCase;

class GosExtensionTest extends IntegrationTestCase
{
/**
* @return array<int, mixed>
* @return array<ExtensionInterface>
*/
public function getExtensions(): array
{
Expand Down

0 comments on commit 21d2522

Please sign in to comment.