Skip to content

Commit 53812d9

Browse files
Apply fixes from StyleCI (#13)
1 parent ddb313d commit 53812d9

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

src/Duration/Duration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Duration implements Arrayable, JsonSerializable
3737
/**
3838
* Duration constructor.
3939
*
40-
* @param $seconds
40+
* @param $seconds
4141
*/
4242
public function __construct($seconds = 0)
4343
{
@@ -77,7 +77,7 @@ public function getSeconds()
7777
}
7878

7979
/**
80-
* @param $format
80+
* @param $format
8181
* @return $this
8282
*/
8383
public function setFormat($format)

src/Duration/DurationFormatter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __construct(Duration $duration)
3232
}
3333

3434
/**
35-
* @param $format
35+
* @param $format
3636
* @return mixed
3737
*/
3838
public function get($format)
@@ -66,7 +66,7 @@ public function get($format)
6666

6767
/**
6868
* @param Collection $units
69-
* @param $format
69+
* @param $format
7070
* @return mixed
7171
*/
7272
protected function applyFormat(Collection $units, $format)

src/Duration/DurationOperations.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function subtract(Duration $duration)
2525
/**
2626
* Retrieve the sum of an array.
2727
*
28-
* @param $items
28+
* @param $items
2929
* @param null $callback
3030
* @return Duration
3131
*

src/Period/Period.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ class Period implements Arrayable, JsonSerializable
2424
/**
2525
* TimeSpan constructor.
2626
*
27-
* @param $start
28-
* @param $end
27+
* @param $start
28+
* @param $end
2929
*/
3030
public function __construct($start = null, $end = null)
3131
{
@@ -114,7 +114,7 @@ public function latest(Carbon $time)
114114
// _________________________________________________________________________________________________________________
115115

116116
/**
117-
* @param $time
117+
* @param $time
118118
* @return Carbon|null
119119
*/
120120
protected function normalizeInput($time)
@@ -130,7 +130,7 @@ protected function normalizeInput($time)
130130
}
131131

132132
/**
133-
* @param $time
133+
* @param $time
134134
* @return Carbon|null
135135
*/
136136
protected function normalizeOutput($time)

src/Shared/RetrievesValues.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ trait RetrievesValues
77
/**
88
* Returns a closure function to retrieve a value from an $item parameter.
99
*
10-
* @param $callback
10+
* @param $callback
1111
* @return \Closure
1212
*/
1313
private static function valueRetriever($callback)

src/Shared/ValidatesArrays.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
trait ValidatesArrays
66
{
77
/**
8-
* @param $keys
9-
* @param $array
8+
* @param $keys
9+
* @param $array
1010
*
1111
* @throws MissingPropertiesException
1212
*/

src/Whitelist/Whitelist.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ abstract class Whitelist
1717
protected $value;
1818

1919
/**
20-
* @param $value
20+
* @param $value
2121
*/
2222
public function __construct($value)
2323
{
@@ -44,7 +44,7 @@ public function get()
4444
}
4545

4646
/**
47-
* @param $value
47+
* @param $value
4848
* @return bool
4949
*/
5050
public static function isValid($value)

0 commit comments

Comments
 (0)