auto-format all files; add table-definitions to test-bootstrap file

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-12-21 12:24:07 +01:00
parent 1ff784198c
commit 97b5439c0d
209 changed files with 6840 additions and 4534 deletions

View File

@@ -21,19 +21,17 @@
* Returns an integer of the given value which isn't negative.
* Returns -1 if the given value was -1.
*
* @param any The value
* @param
* any The value
* @return int The positive value
* @author Florian Lippert <flo@syscp.org>
*/
function intval_ressource($the_value)
{
$the_value = intval($the_value);
if($the_value < 0
&& $the_value != '-1')
{
$the_value*= - 1;
if ($the_value < 0 && $the_value != '-1') {
$the_value *= - 1;
}
return $the_value;