File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments