Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
rotimi committed Feb 4, 2024
1 parent c2b99db commit 22754e1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"phpunit/phpunit": "^9.0",
"php-coveralls/php-coveralls": "^2.0",
"vimeo/psalm": "^5.4.0",
"rector/rector": "^0.18.0",
"rector/rector": "^0.19.0",
"symfony/polyfill-php80": "^1.26",
"symfony/polyfill-php81": "^1.26",
"symfony/polyfill-php82": "^1.26",
Expand Down
2 changes: 1 addition & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
\Rector\CodeQuality\Rector\If_\ShortenElseIfRector::class,
\Rector\CodingStyle\Rector\Catch_\CatchExceptionNameMatchingTypeRector::class,
\Rector\CodingStyle\Rector\Encapsed\EncapsedStringsToSprintfRector::class,
\Rector\CodingStyle\Rector\ClassMethod\UnSpreadOperatorRector::class
\Rector\CodeQuality\Rector\If_\CompleteMissingIfElseBracketRector::class,
];

if(PHP_MAJOR_VERSION < 8) {
Expand Down
2 changes: 0 additions & 2 deletions src/LeanOrm/Model/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,6 @@ public function offsetExists($key): bool {
*
* @param string $key The requested key.
*
* @return mixed
*
*/
#[\ReturnTypeWillChange]
public function offsetGet($key): \GDAO\Model\RecordInterface {
Expand Down

0 comments on commit 22754e1

Please sign in to comment.