Skip to content

Commit 45af9bc

Browse files
authored
Apply suggestions from code review
1 parent 626c84c commit 45af9bc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Assetic/Asset/Iterator/AssetCollectionIterator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct(AssetCollectionInterface $coll, \SplObjectStorage $c
4141
*
4242
* @return \Assetic\Asset\AssetInterface
4343
*/
44-
// Return type should change to :mixed as soon as PHP 8.0 is the lowest version targetted
44+
// Return type should change to :mixed as soon as PHP 8.0 is the lowest version targeted
4545
#[\ReturnTypeWillChange]
4646
public function current($raw = false)
4747
{
@@ -73,7 +73,7 @@ public function current($raw = false)
7373
return $clone;
7474
}
7575

76-
// Return type should change to :mixed as soon as PHP 8.0 is the lowest version targetted
76+
// Return type should change to :mixed as soon as PHP 8.0 is the lowest version targeted
7777
#[\ReturnTypeWillChange]
7878
public function key()
7979
{

src/Assetic/Extension/Twig/ValueContainer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function offsetSet($offset, $value): void
4444
}
4545

4646
// Return type should change to :void (and mixed $offset for parameter type
47-
// hint) as soon as PHP 8.0 is the lowest version targetted
47+
// hint) as soon as PHP 8.0 is the lowest version targeted
4848
#[\ReturnTypeWillChange]
4949
public function offsetUnset($offset)
5050
{

src/Assetic/Factory/Resource/DirectoryResourceIterator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99
class DirectoryResourceIterator extends \RecursiveIteratorIterator
1010
{
11-
// Return type should change to :mixed as soon as PHP 8.0 is the lowest version targetted
11+
// Return type should change to :mixed as soon as PHP 8.0 is the lowest version targeted
1212
#[\ReturnTypeWillChange]
1313
public function current()
1414
{

0 commit comments

Comments
 (0)