Skip to content

Commit

Permalink
Revert "Apply fixes from StyleCI"
Browse files Browse the repository at this point in the history
This reverts commit 3aa83cf.
  • Loading branch information
Tigrov committed Jun 22, 2024
1 parent 3aa83cf commit 99306f6
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Cache/SchemaCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public function __construct(private CacheInterface $psrCache)
/**
* Remove a value with the specified key from cache.
*
*
* @throws InvalidArgumentException
*/
public function remove(mixed $key): void
Expand Down Expand Up @@ -184,6 +185,7 @@ public function setExclude(array $value): void
*
* @link https://www.php-fig.org/psr/psr-16/#12-definitions
*
*
* @throws InvalidArgumentException For invalid key.
* @return string The normalized cache key.
*/
Expand Down
3 changes: 3 additions & 0 deletions src/Expression/ArrayExpression.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public function getDimension(): int
*
* @link https://php.net/manual/en/arrayaccess.offsetexists.php
*
*
* @throws InvalidConfigException If offset isn't an integer.
* @return bool Its `true` on success or `false` on failure. The return value will be cast to boolean if non-boolean
* was returned.
Expand All @@ -85,6 +86,7 @@ public function offsetExists(mixed $offset): bool
*
* @link https://php.net/manual/en/arrayaccess.offsetget.php
*
*
* @throws InvalidConfigException If offset isn't an integer.
* @return mixed Can return all value types.
*/
Expand All @@ -100,6 +102,7 @@ public function offsetGet(mixed $offset): mixed
*
* @link https://php.net/manual/en/arrayaccess.offsetset.php
*
*
* @throws InvalidConfigException If offset isn't an integer.
*/
public function offsetSet(mixed $offset, mixed $value): void
Expand Down
1 change: 1 addition & 0 deletions src/Query/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,7 @@ private function filterCondition(array|string $condition): array|string
* - a string containing only space characters,
* - or an empty array.
*
*
* @return bool If the value is empty.
*/
private function isEmpty(mixed $value): bool
Expand Down
2 changes: 2 additions & 0 deletions src/QueryBuilder/AbstractDQLQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@ protected function extractAlias(string $table): array|bool
/**
* Checks to see if the given limit is effective.
*
*
* @return bool Whether the limit is effective.
*/
protected function hasLimit(mixed $limit): bool
Expand All @@ -554,6 +555,7 @@ protected function hasLimit(mixed $limit): bool
/**
* Checks to see if the given offset is effective.
*
*
* @return bool Whether the offset is effective.
*/
protected function hasOffset(mixed $offset): bool
Expand Down
1 change: 1 addition & 0 deletions src/Schema/QuoterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ public function quoteTableName(string $name): string;
* Attention: The usage of this method isn't safe.
* Use prepared statements.
*
*
* @return mixed The quoted value.
*/
public function quoteValue(mixed $value): mixed;
Expand Down
1 change: 1 addition & 0 deletions src/Schema/SchemaInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ public function getDefaultSchema(): string|null;
/**
* Determines the SQL data type for the given PHP data value.
*
*
* @return int The type.
* @see DataType
*/
Expand Down

0 comments on commit 99306f6

Please sign in to comment.