Passed
Push — master ( d5cade...3c3d9c )
by Daniele
52s
created
source/FluidXml/FluidXml.php 1 patch
Braces   +39 added lines, -13 removed lines patch added patch discarded remove patch
@@ -206,19 +206,45 @@
 block discarded – undo
206 206
                 return $this;
207 207
         }
208 208
 
209
-        public function query(...$query)                   { return $this->context()->query(...$query); }
210
-        public function times($times, callable $fn = null) { return $this->context()->times($times, $fn); }
211
-        public function each(callable $fn)                 { return $this->context()->each($fn); }
212
-        public function map(callable $fn)                  { return $this->context()->map($fn); }
213
-        public function filter(callable $fn)               { return $this->context()->filter($fn); }
214
-        public function setAttribute($name, $value = null) { $this->context()->setAttribute($name, $value); return $this; }
215
-        public function setText($text)                     { $this->context()->setText($text);    return $this; }
216
-        public function addText($text)                     { $this->context()->addText($text);    return $this; }
217
-        public function setCdata($text)                    { $this->context()->setCdata($text);   return $this; }
218
-        public function addCdata($text)                    { $this->context()->addCdata($text);   return $this; }
219
-        public function setComment($text)                  { $this->context()->setComment($text); return $this; }
220
-        public function addComment($text)                  { $this->context()->addComment($text); return $this; }
221
-        public function remove(...$query)                  { $this->context()->remove(...$query); return $this; }
209
+        public function query(...$query)
210
+        {
211
+return $this->context()->query(...$query); }
212
+        public function times($times, callable $fn = null)
213
+        {
214
+return $this->context()->times($times, $fn); }
215
+        public function each(callable $fn)
216
+        {
217
+return $this->context()->each($fn); }
218
+        public function map(callable $fn)
219
+        {
220
+return $this->context()->map($fn); }
221
+        public function filter(callable $fn)
222
+        {
223
+return $this->context()->filter($fn); }
224
+        public function setAttribute($name, $value = null)
225
+        {
226
+$this->context()->setAttribute($name, $value); return $this; }
227
+        public function setText($text)
228
+        {
229
+$this->context()->setText($text);    return $this; }
230
+        public function addText($text)
231
+        {
232
+$this->context()->addText($text);    return $this; }
233
+        public function setCdata($text)
234
+        {
235
+$this->context()->setCdata($text);   return $this; }
236
+        public function addCdata($text)
237
+        {
238
+$this->context()->addCdata($text);   return $this; }
239
+        public function setComment($text)
240
+        {
241
+$this->context()->setComment($text); return $this; }
242
+        public function addComment($text)
243
+        {
244
+$this->context()->addComment($text); return $this; }
245
+        public function remove(...$query)
246
+        {
247
+$this->context()->remove(...$query); return $this; }
222 248
 
223 249
         public function addChild($child, ...$optionals)
224 250
         {
Please login to merge, or discard this patch.