Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed some typos

  • Loading branch information...
commit a8f0c512668d983f081b4099bade6d6ed62cbc6a 1 parent 3334a3d
@Grafikart Grafikart authored
View
2  src/Controller/Component/PaginatorComponent.php
@@ -311,7 +311,7 @@ public function validateSort(Table $object, array $options) {
foreach ($options['order'] as $key => $value) {
$field = $key;
$alias = $tableAlias;
- if (is_numeric($key)){
+ if (is_numeric($key)) {
$order[] = $value;
} else {
if (strpos($key, '.') !== false) {
View
2  tests/TestCase/Controller/Component/PaginatorComponentTest.php
@@ -488,7 +488,7 @@ public function testValidateSortMultiple() {
}
/**
- * test that string order are used by paginator
+ * Tests that order strings can used by Paginator
*
* @return void
*/
Please sign in to comment.
Something went wrong with that request. Please try again.