Completed
Push — master ( 29387e...b73e61 )
by Vladimir
02:36
created
src/PulseNote.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@
 block discarded – undo
175 175
      *
176 176
      * @param  null|string        $title         The new title of the note
177 177
      * @param  null|string        $content       The new content of the note
178
-     * @param  null|int|PulseUser $user_id       The new author of the note
178
+     * @param  string $user_id       The new author of the note
179 179
      * @param  null|bool          $create_update Whether to create an update or not
180 180
      *
181 181
      * @since  0.1.0
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      *
86 86
      * @return string
87 87
      */
88
-    public function getType()
88
+    public function getType ()
89 89
     {
90 90
         return $this->type;
91 91
     }
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      *
96 96
      * @return string
97 97
      */
98
-    public function getId()
98
+    public function getId ()
99 99
     {
100 100
         return $this->id;
101 101
     }
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      *
106 106
      * @return string
107 107
      */
108
-    public function getTitle()
108
+    public function getTitle ()
109 109
     {
110 110
         return $this->title;
111 111
     }
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      *
116 116
      * @return string
117 117
      */
118
-    public function getPulseId()
118
+    public function getPulseId ()
119 119
     {
120 120
         return $this->project_id;
121 121
     }
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      *
126 126
      * @return string
127 127
      */
128
-    public function getPermissions()
128
+    public function getPermissions ()
129 129
     {
130 130
         return $this->permissions;
131 131
     }
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      *
136 136
      * @return string
137 137
      */
138
-    public function getContent()
138
+    public function getContent ()
139 139
     {
140 140
         return $this->content;
141 141
     }
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
      *
146 146
      * @return \DateTime
147 147
      */
148
-    public function getCreatedAt()
148
+    public function getCreatedAt ()
149 149
     {
150 150
         self::lazyLoad($this->created_at, '\DateTime');
151 151
 
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
      *
158 158
      * @return \DateTime
159 159
      */
160
-    public function getUpdatedAt()
160
+    public function getUpdatedAt ()
161 161
     {
162 162
         self::lazyLoad($this->updated_at, '\DateTime');
163 163
 
Please login to merge, or discard this patch.
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      *
186 186
      * @return $this
187 187
      */
188
-    public function editNote ($title = NULL, $content = NULL, $user_id = NULL, $create_update = NULL)
188
+    public function editNote ($title = null, $content = null, $user_id = null, $create_update = null)
189 189
     {
190 190
         $this->checkInvalid();
191 191
 
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
      */
254 254
     public function editContent ($content)
255 255
     {
256
-        return $this->editNote(NULL, $content);
256
+        return $this->editNote(null, $content);
257 257
     }
258 258
 
259 259
     /**
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
      */
274 274
     public function editAuthor ($user_id)
275 275
     {
276
-        return $this->editNote(NULL, NULL, $user_id);
276
+        return $this->editNote(null, null, $user_id);
277 277
     }
278 278
 
279 279
     /**
Please login to merge, or discard this patch.