Skip to content

Commit 4160715

Browse files
authored
Update README.md
1 parent 34b21f2 commit 4160715

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,10 @@ $checkHost = new \ILYAGVC\CheckHost\CheckHost(
153153

154154
```php
155155
<?php
156+
use ILYAGVC\CheckHost\CheckHost;
156157
require 'vendor/autoload.php';
157158

158-
$checkHost = new \ILYAGVC\CheckHost\CheckHost();
159+
$checkHost = new CheckHost();
159160
$result = $checkHost->runCheck('https://www.google.com', 'ping', 2);
160161
print_r($result);
161162
```
@@ -190,9 +191,10 @@ Array
190191

191192
```php
192193
<?php
194+
use ILYAGVC\CheckHost\CheckHost;
193195
require 'vendor/autoload.php';
194196

195-
$checkHost = new \ILYAGVC\CheckHost\CheckHost();
197+
$checkHost = new CheckHost();
196198
$result = $checkHost->fullCheck('https://www.google.com');
197199
print_r($result);
198200
```

0 commit comments

Comments
 (0)