Skip to content
Snippets Groups Projects
Commit a414d0c9 authored by Zandor Smith's avatar Zandor Smith :computer:
Browse files

Now using end of line const.

parent f7b36659
No related branches found
No related tags found
No related merge requests found
...@@ -20,14 +20,14 @@ function getTemperature() { ...@@ -20,14 +20,14 @@ function getTemperature() {
fclose($handle); fclose($handle);
return $celsius; return $celsius;
} else { } else {
echo "Unable to read temperature!\n"; echo "Unable to read temperature!" . PHP_EOL;
fclose($handle); fclose($handle);
return null; return null;
} }
} }
fclose($handle); fclose($handle);
} }
echo "No temperature sensor found!\n"; echo "No temperature sensor found!" . PHP_EOL;
return null; return null;
} }
......
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