src: whitespace and style

This commit is contained in:
Franco Fichtner 2015-05-23 08:01:22 +02:00
parent a72ac678a4
commit cd615e1896
3 changed files with 10 additions and 6 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# Clean a text file -- or directory of text files -- of stealth whitespace.
# WARNING: this can be a highly destructive operation. Use with caution.

View File

@ -88,5 +88,4 @@ class SettingsController extends ApiControllerBase
}
}
}

View File

@ -58,8 +58,14 @@ class UIModelGrid
* @param string $searchPhrase search phrase to use
* @return array
*/
public function fetch($fields, $itemsPerPage, $currentPage, $sortBy = array(), $sortDescending = false, $searchPhrase = '')
{
public function fetch(
$fields,
$itemsPerPage,
$currentPage,
$sortBy = array(),
$sortDescending = false,
$searchPhrase = ''
) {
$result = array('rows'=>array());
$recordIndex = 0;
@ -109,5 +115,4 @@ class UIModelGrid
return $result;
}
}
}