Skip to content

Commit 573596f

Browse files
Fix code
1 parent e97bef6 commit 573596f

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/HasBooleanDates.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ trait HasBooleanDates
1010
{
1111
/**
1212
* Initialize the trait.
13+
*
14+
* @return void
1315
*/
1416
public function initializeHasBooleanDates() : void
1517
{
@@ -106,6 +108,8 @@ protected function getBooleanDate($key) : bool
106108
/**
107109
* @param string $key
108110
* @param mixed $value
111+
*
112+
* @return void
109113
*/
110114
protected function setBooleanDate(string $key, $value) : void
111115
{
@@ -155,7 +159,7 @@ protected function getBooleanDateField($key) : string
155159
}
156160

157161
/**
158-
* @param $value
162+
* @param mixed $value
159163
*
160164
* @return string|null
161165
*/

tests/TestCase.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace SebastiaanLuca\BooleanDates\Tests;
46

57
use Orchestra\Testbench\TestCase as BaseTestCase;
@@ -8,7 +10,7 @@
810
class TestCase extends BaseTestCase
911
{
1012
/**
11-
* @param $app
13+
* @param \Illuminate\Foundation\Application $app
1214
*
1315
* @return array
1416
*/

0 commit comments

Comments
 (0)