Skip to content

Commit

Permalink
Cleanup fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesbochmann committed Feb 29, 2024
1 parent 7bc1e0d commit 09956fa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Classes/Backend/Model/DevlogEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class DevlogEntry extends \DMK\Mklog\Domain\Model\DevlogEntry implements \Sys25\
*
* @TODO: legacy rn_base make instance model support, remove if rn_base isn't used anymore
*/
public function __construct(array $record = null)
public function __construct(?array $record = null)
{
if (null !== $record && is_array($record)) {
foreach ($record as $columnName => $value) {
Expand Down
2 changes: 1 addition & 1 deletion Tests/Classes/BaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ protected function getDatabaseConnection()
/**
* Returns a devlog entry model mock.
*
* @return \PHPUnit_Framework_MockObject_MockObject|\DMK\Mklog\Domain\Model\DevlogEntry
* @return \PHPUnit_Framework_MockObject_MockObject|DevlogEntry
*/
protected function getDevlogEntry()
{
Expand Down
2 changes: 1 addition & 1 deletion Tests/Classes/Logger/GelfLoggerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function testWriteLog()
/**
* Returns the logger mock.
*
* @return PHPUnit_Framework_MockObject_MockObject|\DMK\Mklog\Logger\GelfLogger
* @return PHPUnit_Framework_MockObject_MockObject|GelfLogger
*/
protected function getGelfLoggerMock()
{
Expand Down
2 changes: 1 addition & 1 deletion Tests/Classes/WatchDog/SchedulerWatchDogTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public function testGetDemandRespects()
/**
* Returns the logger mock.
*
* @return PHPUnit_Framework_MockObject_MockObject|\DMK\Mklog\WatchDog\SchedulerWatchDog
* @return PHPUnit_Framework_MockObject_MockObject|SchedulerWatchDog
*/
protected function getSchedulerMock(
array $methods = []
Expand Down

0 comments on commit 09956fa

Please sign in to comment.