-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Actually (correctly) fix the reported #183
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
* @author Matteo Giachino <[email protected]> | ||
* @author Dhaval Patel <[email protected]> | ||
*/ | ||
class Log implements \ArrayAccess, \Countable, \Iterator: void | ||
class Log implements \ArrayAccess, \Countable, \Iterator | ||
{ | ||
/** | ||
* @var \GitElephant\Repository | ||
|
@@ -207,7 +207,7 @@ public function offsetGet($offset): ?\GitElephant\Objects\Commit | |
* @return void | ||
* @throws \RuntimeException | ||
*/ | ||
public function offsetSet($offset, $value) | ||
public function offsetSet($offset, $value): void | ||
{ | ||
throw new \RuntimeException('Can\'t set elements on logs'); | ||
} | ||
|
@@ -220,7 +220,7 @@ public function offsetSet($offset, $value) | |
* @return void | ||
* @throws \RuntimeException | ||
*/ | ||
public function offsetUnset($offset) | ||
public function offsetUnset($offset): void | ||
{ | ||
throw new \RuntimeException('Can\'t unset elements on logs'); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters