Skip to content

Commit 077e2de

Browse files
committed
CS fixes
1 parent 97d57c5 commit 077e2de

File tree

10 files changed

+22
-16
lines changed

10 files changed

+22
-16
lines changed

src/OpCacheGUI/Auth/Whitelist.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ interface Whitelist
2626
* Builds the whitelist
2727
*
2828
* @param array $addresses List of addresses which form the whitelist
29+
*
30+
* @return void
2931
*/
3032
public function buildWhitelist(array $addresses);
3133

src/OpCacheGUI/Network/Ip/Any.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ public function isValid($address)
3939
/**
4040
* Converts an IP address or range into a range to easily check for access
4141
*
42-
* @param string The IP address / range
42+
* @param string $address The IP address / range
4343
*
44-
* @return float[] Array containing the first and last ip in the range
44+
* @return double[] Array containing the first and last ip in the range
4545
*/
4646
public function convert($address)
4747
{

src/OpCacheGUI/Network/Ip/Cidr.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@ public function isValid($address)
3939
/**
4040
* Converts an IP address or range into a range to easily check for access
4141
*
42-
* @param string The IP address / range
42+
* @param string $address The IP address / range
4343
*
44-
* @return float[] Array containing the first and last ip in the range
44+
* @return double[] Array containing the first and last ip in the range
4545
*/
4646
public function convert($address)
4747
{
4848
$cidr = explode('/', $address);
4949

5050
return [
51-
(float) sprintf('%u', (ip2long($cidr[0])) & ((-1 << (32 - (int)$cidr[1])))),
52-
(float) sprintf('%u', (ip2long($cidr[0])) + pow(2, (32 - (int)$cidr[1])) - 1),
51+
(float) sprintf('%u', (ip2long($cidr[0])) & ((-1 << (32 - (int) $cidr[1])))),
52+
(float) sprintf('%u', (ip2long($cidr[0])) + pow(2, (32 - (int) $cidr[1])) - 1),
5353
];
5454
}
5555
}

src/OpCacheGUI/Network/Ip/Converter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ public function isValid($address);
3636
/**
3737
* Converts an IP address or range into a range to easily check for access
3838
*
39-
* @param string The IP address / range
39+
* @param string $address The IP address / range
4040
*
41-
* @return float[] Array containing the first and last ip in the range
41+
* @return double[] Array containing the first and last ip in the range
4242
*/
4343
public function convert($address);
4444
}

src/OpCacheGUI/Network/Ip/Localhost.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ public function isValid($address)
3939
/**
4040
* Converts an IP address or range into a range to easily check for access
4141
*
42-
* @param string The IP address / range
42+
* @param string $address The IP address / range
4343
*
44-
* @return float[] Array containing the first and last ip in the range
44+
* @return double[] Array containing the first and last ip in the range
4545
*/
4646
public function convert($address)
4747
{

src/OpCacheGUI/Network/Ip/Range.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ public function isValid($address)
4141
/**
4242
* Converts an IP address or range into a range to easily check for access
4343
*
44-
* @param string The IP address / range
44+
* @param string $address The IP address / range
4545
*
46-
* @return float[] Array containing the first and last ip in the range
46+
* @return double[] Array containing the first and last ip in the range
4747
*/
4848
public function convert($address)
4949
{

src/OpCacheGUI/Network/Ip/Single.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ public function isValid($address)
3939
/**
4040
* Converts an IP address or range into a range to easily check for access
4141
*
42-
* @param string The IP address / range
42+
* @param string $address The IP address / range
4343
*
44-
* @return float[] Array containing the first and last ip in the range
44+
* @return double[] Array containing the first and last ip in the range
4545
*/
4646
public function convert($address)
4747
{

src/OpCacheGUI/Network/Ip/Wildcard.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ public function isValid($address)
4343
/**
4444
* Converts an IP address or range into a range to easily check for access
4545
*
46-
* @param string The IP address / range
46+
* @param string $address The IP address / range
4747
*
48-
* @return float[] Array containing the first and last ip in the range
48+
* @return double[] Array containing the first and last ip in the range
4949
*/
5050
public function convert($address)
5151
{

src/OpCacheGUI/Storage/KeyValuePair.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ interface KeyValuePair
3030
*
3131
* @param string $key The key in which to store the value
3232
* @param mixed $value The value to store
33+
*
34+
* @return void
3335
*/
3436
public function set($key, $value);
3537

src/OpCacheGUI/Storage/Session.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ class Session implements KeyValuePair, Regeneratable
2727
*
2828
* @param string $key The key in which to store the value
2929
* @param mixed $value The value to store
30+
*
31+
* @return void
3032
*/
3133
public function set($key, $value)
3234
{

0 commit comments

Comments
 (0)