Skip to content
Snippets Groups Projects
Commit 819f5a02 authored by Tibo's avatar Tibo
Browse files

fix style

parent 14aae85c
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ class ClientVersion extends \App\AbstractSensor
public function manifest()
{
$client = new Client([
$client = new Client([
'timeout' => 5.0,
]);
......@@ -27,8 +27,8 @@ class ClientVersion extends \App\AbstractSensor
}
return json_decode($json)[0];
}
}
public function latestVersion()
{
......@@ -37,8 +37,8 @@ class ClientVersion extends \App\AbstractSensor
public function latestUrl()
{
return $this->manifest()->url;
}
return $this->manifest()->url;
}
//put your code here
public function report()
......
......@@ -94,9 +94,9 @@ class Server extends Model
public function lastClientUrl()
{
$client_sensor = new \App\Sensor\ClientVersion($this);
return $client_sensor->latestUrl();
}
$client_sensor = new \App\Sensor\ClientVersion($this);
return $client_sensor->latestUrl();
}
/**
* Get integer status of server.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment