Completed
Pull Request — master (#9)
by Michał
01:51
created
src/Barenote/Endpoint/Notes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 
55 55
         $this->notes->clear();
56 56
         foreach ($response->body->notes as $note) {
57
-            $this->notes->add(NoteFactory::fromArray((array)$note));
57
+            $this->notes->add(NoteFactory::fromArray((array) $note));
58 58
         }
59 59
         $this->notes->update();
60 60
     }
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      */
77 77
     public function update(Note $note)
78 78
     {
79
-        $request  = $this->transport->prepare(
79
+        $request = $this->transport->prepare(
80 80
             HttpMethod::PUT(),
81 81
             self::URL_NOTES . "/{$note->getId()->getValue()}",
82 82
             json_encode($note)
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      */
97 97
     public function insert(Note $note)
98 98
     {
99
-        $request  = $this->transport->prepare(
99
+        $request = $this->transport->prepare(
100 100
             HttpMethod::POST(),
101 101
             self::URL_NOTES,
102 102
             json_encode($note)
Please login to merge, or discard this patch.