Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauriciofauth@gmail.com>2019-01-06 02:56:34 +0300
committerMaurício Meneghini Fauth <mauriciofauth@gmail.com>2019-01-06 02:56:34 +0300
commit4cee0cbc12528a2c30adcf28eacf4f4674bb0993 (patch)
treeb864c9e13082efafcab7a1ab1b3bce6f17d2b759 /libraries/classes/SavedSearches.php
parent999b4d14f05abd38bd830b2d47fcb82f263a3ce9 (diff)
Adds space after not (!) and type cast
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'libraries/classes/SavedSearches.php')
-rw-r--r--libraries/classes/SavedSearches.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/classes/SavedSearches.php b/libraries/classes/SavedSearches.php
index 67eb916a0e..63a94af0ce 100644
--- a/libraries/classes/SavedSearches.php
+++ b/libraries/classes/SavedSearches.php
@@ -77,7 +77,7 @@ class SavedSearches
*/
public function setId($searchId)
{
- $searchId = (int)$searchId;
+ $searchId = (int) $searchId;
if (empty($searchId)) {
$searchId = null;
}
@@ -179,7 +179,7 @@ class SavedSearches
}
/* Limit amount of rows */
- if (!isset($data['rows'])) {
+ if (! isset($data['rows'])) {
$data['rows'] = 0;
} else {
$data['rows'] = min(
@@ -296,7 +296,7 @@ class SavedSearches
];
$existingSearches = $this->getList($wheres);
- if (!empty($existingSearches)) {
+ if (! empty($existingSearches)) {
$message = Message::error(
__('An entry with this name already exists.')
);
@@ -317,7 +317,7 @@ class SavedSearches
. "')";
$result = (bool) $this->relation->queryAsControlUser($sqlQuery);
- if (!$result) {
+ if (! $result) {
return false;
}
@@ -333,7 +333,7 @@ class SavedSearches
];
$existingSearches = $this->getList($wheres);
- if (!empty($existingSearches)) {
+ if (! empty($existingSearches)) {
$message = Message::error(
__('An entry with this name already exists.')
);