@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | /** |
11 | 11 | * @return string |
12 | 12 | */ |
13 | - public function getUsername () |
|
13 | + public function getUsername() |
|
14 | 14 | { |
15 | 15 | return $this->username; |
16 | 16 | } |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | /** |
19 | 19 | * @return string |
20 | 20 | */ |
21 | - public function getPassword () |
|
21 | + public function getPassword() |
|
22 | 22 | { |
23 | 23 | return $this->password; |
24 | 24 | } |
@@ -2,7 +2,7 @@ |
||
2 | 2 | use Redbox\Hydrate\Hydrator; |
3 | 3 | |
4 | 4 | if (function_exists('Hydrate') == false) { |
5 | - function Hydrate ($instance) |
|
5 | + function Hydrate($instance) |
|
6 | 6 | { |
7 | 7 | return new Hydrator($instance); |
8 | 8 | } |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | * @param $destination |
18 | 18 | * @internal param null $subject |
19 | 19 | */ |
20 | - public function __construct ($destination) |
|
20 | + public function __construct($destination) |
|
21 | 21 | { |
22 | 22 | $this->destination = $destination; |
23 | 23 | } |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * @param $destination |
27 | 27 | * @return Hydrator |
28 | 28 | */ |
29 | - public static function hydrate ($destination) |
|
29 | + public static function hydrate($destination) |
|
30 | 30 | { |
31 | 31 | return new Hydrator($destination); |
32 | 32 | } |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | * @return null |
37 | 37 | * @throws \Exception |
38 | 38 | */ |
39 | - public function with ($source = []) |
|
39 | + public function with($source = []) |
|
40 | 40 | { |
41 | 41 | if (is_array($source) == false) { |
42 | 42 | throw new \Exception('Source should be an array'); |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | * @return null |
52 | 52 | * @throws \Exception |
53 | 53 | */ |
54 | - private function run () |
|
54 | + private function run() |
|
55 | 55 | { |
56 | 56 | if (is_object($this->destination) == false) { |
57 | 57 | throw new \Exception('Destination is not an object'); |