Fix lots of scrutinizer warnings, remove Travis

This commit is contained in:
Stéphane Goetz
2019-11-28 23:32:33 +01:00
parent 56efd83f2c
commit 13be180582
19 changed files with 97 additions and 80 deletions

View File

@ -24,7 +24,7 @@ class Root extends Directory
/**
* @return Config
*/
public function getConfig()
public function getConfig(): Config
{
return $this->config;
}
@ -32,12 +32,12 @@ class Root extends Directory
/**
* @param Config $config
*/
public function setConfig($config)
public function setConfig(Config $config)
{
$this->config = $config;
}
public function isHotPath(Entry $node = null) {
public function isHotPath(Entry $node = null): bool {
if ($node == null) {
return true;
}