Skip to content

Commit ddafde5

Browse files
authored
Merge pull request #15 from angelcamposm/analysis-ajk5bY
Apply fixes from StyleCI
2 parents 229b2c4 + 1e6af42 commit ddafde5

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/Ping.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ protected function parse(array $ping): object
7070
* Remove binary casting from the beginning of the strings.
7171
*
7272
* @param array $ping
73+
*
7374
* @return array
7475
*/
7576
private function cleanBinaryString(array $ping): array
@@ -108,8 +109,9 @@ public function run(): object
108109
/**
109110
* Return the result of the execution of ping command.
110111
*
111-
* @return array
112112
* @throws Exception
113+
*
114+
* @return array
113115
*/
114116
private function executePing(): array
115117
{

src/PingCommandBuilder.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public function __construct(?string $host = null)
3030
$this->host = $host;
3131
$this->setIPAddressVersion();
3232
} else {
33-
3433
if (str_ends_with($host, '/')) {
3534
$host = substr($host, 0, strlen($host) - 1);
3635
}

0 commit comments

Comments
 (0)