@@ -54,7 +54,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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) |