@@ -65,8 +65,6 @@ |
||
| 65 | 65 | /** |
| 66 | 66 | * Perform authentication |
| 67 | 67 | * |
| 68 | - * @param string $user The name the user provided |
|
| 69 | - * @param string $password The password the user provided |
|
| 70 | 68 | * @param string $file |
| 71 | 69 | * @throws GenericsException |
| 72 | 70 | * @return boolean |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | */ |
| 31 | 31 | public function __construct($path) |
| 32 | 32 | { |
| 33 | - $this->path = $this->fixDirectorySeparator($path); |
|
| 33 | + $this->path = $this->fixDirectorySeparator($path); |
|
| 34 | 34 | if ($this->exists()) { |
| 35 | 35 | $this->path = realpath($this->path); |
| 36 | 36 | } |
@@ -199,9 +199,9 @@ discard block |
||
| 199 | 199 | */ |
| 200 | 200 | private function fixDirectorySeparator($path) |
| 201 | 201 | { |
| 202 | - $path = str_replace("\\", DIRECTORY_SEPARATOR , $path); |
|
| 203 | - $path = str_replace("/", DIRECTORY_SEPARATOR, $path); |
|
| 202 | + $path = str_replace("\\", DIRECTORY_SEPARATOR , $path); |
|
| 203 | + $path = str_replace("/", DIRECTORY_SEPARATOR, $path); |
|
| 204 | 204 | |
| 205 | - return $path; |
|
| 205 | + return $path; |
|
| 206 | 206 | } |
| 207 | 207 | } |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | trait DumpLoggerTrait |
| 16 | 16 | { |
| 17 | - abstract public function debug($message, array $context = array()); |
|
| 17 | + abstract public function debug($message, array $context = array()); |
|
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * {@inheritDoc} |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | trait ExceptionLoggerTrait |
| 18 | 18 | { |
| 19 | - abstract protected function logImpl($level, $message, array $context = array()); |
|
| 19 | + abstract protected function logImpl($level, $message, array $context = array()); |
|
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * {@inheritDoc} |
@@ -16,6 +16,9 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | trait ExceptionLoggerTrait |
| 18 | 18 | { |
| 19 | + /** |
|
| 20 | + * @param string $message |
|
| 21 | + */ |
|
| 19 | 22 | abstract protected function logImpl($level, $message, array $context = array()); |
| 20 | 23 | |
| 21 | 24 | /** |
@@ -472,6 +472,6 @@ |
||
| 472 | 472 | */ |
| 473 | 473 | public function isOpen() |
| 474 | 474 | { |
| 475 | - return true; |
|
| 475 | + return true; |
|
| 476 | 476 | } |
| 477 | 477 | } |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | */ |
| 224 | 224 | public function isLocked() |
| 225 | 225 | { |
| 226 | - return $this->locked; |
|
| 226 | + return $this->locked; |
|
| 227 | 227 | } |
| 228 | 228 | |
| 229 | 229 | /** |
@@ -232,6 +232,6 @@ discard block |
||
| 232 | 232 | */ |
| 233 | 233 | public function isOpen() |
| 234 | 234 | { |
| 235 | - return is_resource($this->handle); |
|
| 235 | + return is_resource($this->handle); |
|
| 236 | 236 | } |
| 237 | 237 | } |
@@ -210,6 +210,6 @@ |
||
| 210 | 210 | */ |
| 211 | 211 | public function isOpen() |
| 212 | 212 | { |
| 213 | - return is_resource($this->handle); |
|
| 213 | + return is_resource($this->handle); |
|
| 214 | 214 | } |
| 215 | 215 | } |
@@ -472,6 +472,6 @@ |
||
| 472 | 472 | */ |
| 473 | 473 | public function isOpen() |
| 474 | 474 | { |
| 475 | - return true; |
|
| 475 | + return true; |
|
| 476 | 476 | } |
| 477 | 477 | } |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | */ |
| 224 | 224 | public function isLocked() |
| 225 | 225 | { |
| 226 | - return $this->locked; |
|
| 226 | + return $this->locked; |
|
| 227 | 227 | } |
| 228 | 228 | |
| 229 | 229 | /** |
@@ -232,6 +232,6 @@ discard block |
||
| 232 | 232 | */ |
| 233 | 233 | public function isOpen() |
| 234 | 234 | { |
| 235 | - return is_resource($this->handle); |
|
| 235 | + return is_resource($this->handle); |
|
| 236 | 236 | } |
| 237 | 237 | } |