Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Aug 23, 2024
1 parent 4d8991f commit c609955
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/ActiveQueryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@ interface ActiveQueryInterface extends QueryInterface
/**
* @inheritdoc
*
* @return array[]|ActiveRecordInterface[] All rows of the query result. Each array element is an `array` or
* instance of {@see ActiveRecordInterface} representing a row of data, depends on {@see asArray(), isAsArray()}
* value. Empty array if the query results in nothing.
*
* @throws Exception
* @throws InvalidConfigException
* @throws Throwable
* @return ActiveRecordInterface[]|array[] All rows of the query result. Each array element is an `array` or
* instance of {@see ActiveRecordInterface} representing a row of data, depends on {@see asArray(), isAsArray()}
* value. Empty array if the query results in nothing.
*/
public function all(): array;

Expand Down Expand Up @@ -609,15 +608,14 @@ public function getMultiple(): bool;
/**
* @inheritdoc
*
* @return array|ActiveRecordInterface|null The first row as an `array` or instance of {@see ActiveRecordInterface}
* of the query result, depends on {@see asArray(), isAsArray()} value. `null` if the query results in nothing.
*
* @throws Exception
* @throws InvalidArgumentException
* @throws InvalidConfigException
* @throws NotSupportedException
* @throws ReflectionException
* @throws Throwable
* @return ActiveRecordInterface|array|null The first row as an `array` or instance of {@see ActiveRecordInterface}
* of the query result, depends on {@see asArray(), isAsArray()} value. `null` if the query results in nothing.
*/
public function one(): array|ActiveRecordInterface|null;
}

0 comments on commit c609955

Please sign in to comment.