Completed
Push — master ( 3b7cee...8100e1 )
by Johnny
04:53 queued 01:57
created
examples/example.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/helpers/Hydrator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Hydrator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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');
Please login to merge, or discard this patch.