Skip to content

Commit

Permalink
Fix PHPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
Moln committed Aug 10, 2021
1 parent 8cbae2f commit 21e6629
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Opis/Helper.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

declare(strict_types = 1);

namespace Zfegg\ContentValidation\Opis;


class Helper
{
const JSON_ALL_TYPES = ['string', 'integer', 'number', 'boolean', 'null', 'object', 'array'];
}
}
1 change: 0 additions & 1 deletion src/Opis/Resolver/TransformerResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace Zfegg\ContentValidation\Opis\Resolver;


use Zfegg\ContentValidation\Opis\Helper;

/**
Expand Down
2 changes: 1 addition & 1 deletion test/Opis/TransformersParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class TransformersParserTest extends TestCase

use SetupTrait;

public function json()
public function json(): array
{
return [
['123'],
Expand Down

0 comments on commit 21e6629

Please sign in to comment.