mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-01 14:20:16 +02:00
[core] Fix typos
This commit is contained in:
@@ -14,7 +14,7 @@ class FileCache implements CacheInterface {
|
||||
public function saveData($datas){
|
||||
$writeStream = file_put_contents($this->getCacheFile(), json_encode($datas, JSON_PRETTY_PRINT));
|
||||
|
||||
if($writeStream === FALSE) {
|
||||
if($writeStream === false) {
|
||||
throw new \Exception("Cannot write the cache... Do you have the right permissions ?");
|
||||
}
|
||||
|
||||
|
@@ -26,5 +26,3 @@ function debugMessage($text){
|
||||
|
||||
error_log($message);
|
||||
}
|
||||
|
||||
?>
|
||||
|
@@ -53,7 +53,6 @@ function validateData(&$data,$parameters){
|
||||
return $filteredValue;
|
||||
};
|
||||
|
||||
|
||||
if(!is_array($data))
|
||||
return false;
|
||||
|
||||
@@ -99,5 +98,3 @@ function validateData(&$data,$parameters){
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user