@@ -84,10 +84,10 @@ |
||
84 | 84 | } |
85 | 85 | |
86 | 86 | /** |
87 | - * This method is used to check the whitelist IP address access |
|
88 | - * |
|
89 | - * @return boolean |
|
90 | - */ |
|
87 | + * This method is used to check the whitelist IP address access |
|
88 | + * |
|
89 | + * @return boolean |
|
90 | + */ |
|
91 | 91 | public static function checkWhiteListIpAccess() { |
92 | 92 | $logger = self::getLogger(); |
93 | 93 | $logger->debug('Validation of the IP address access ...'); |
@@ -170,7 +170,7 @@ |
||
170 | 170 | //by default count() return 1 if the parameter is not an array |
171 | 171 | //object or object implements Countable. |
172 | 172 | if (is_array($result) || is_object($result) || $result instanceof Countable) { |
173 | - $numRows = count($result); |
|
173 | + $numRows = count($result); |
|
174 | 174 | } |
175 | 175 | } else { |
176 | 176 | $numRows = $this->pdoStatment->rowCount(); |
@@ -45,7 +45,7 @@ |
||
45 | 45 | $attributes['accept-charset'] = get_config('charset', 'UTF-8'); |
46 | 46 | } |
47 | 47 | if (!empty($enctype)) { |
48 | - $attributes['enctype'] = $enctype; |
|
48 | + $attributes['enctype'] = $enctype; |
|
49 | 49 | } |
50 | 50 | $str .= attributes_to_string($attributes); |
51 | 51 | $str .= '>'; |
@@ -276,7 +276,7 @@ discard block |
||
276 | 276 | * Set the file array data generally in constructor this is already set using $_FILES |
277 | 277 | * @param array $fileArray the new value |
278 | 278 | */ |
279 | - public function setFileArray($fileArray){ |
|
279 | + public function setFileArray($fileArray) { |
|
280 | 280 | $this->file_array = $fileArray; |
281 | 281 | } |
282 | 282 | |
@@ -594,7 +594,7 @@ discard block |
||
594 | 594 | * @return string |
595 | 595 | */ |
596 | 596 | public function getDestinationDirectory() { |
597 | - return $this->destination_directory ; |
|
597 | + return $this->destination_directory; |
|
598 | 598 | } |
599 | 599 | |
600 | 600 | /** |
@@ -602,7 +602,7 @@ discard block |
||
602 | 602 | * @return boolean |
603 | 603 | */ |
604 | 604 | public function isAllowOverwriting() { |
605 | - return $this->overwrite_file ; |
|
605 | + return $this->overwrite_file; |
|
606 | 606 | } |
607 | 607 | |
608 | 608 | /** |