Completed
Pull Request — master (#70)
by
unknown
03:06
created
Zewa/View.php 2 patches
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -170,6 +170,9 @@  discard block
 block discarded – undo
170 170
         return false;
171 171
     }
172 172
 
173
+    /**
174
+     * @param boolean|string $layout
175
+     */
173 176
     public function setLayout($layout)
174 177
     {
175 178
 
@@ -211,6 +214,10 @@  discard block
 block discarded – undo
211 214
      * @return string processed content
212 215
      */
213 216
     //@TODO: come back and clean up this and the way the view receives stuff
217
+
218
+    /**
219
+     * @param string|boolean $file
220
+     */
214 221
     private function process($file)
215 222
     {
216 223
         ob_start();
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
                 $this->view = $this->process($this->view);
115 115
             }
116 116
 
117
-            if (! is_null($this->layout)) {
117
+            if (!is_null($this->layout)) {
118 118
                 return $this->process($this->layout);
119 119
             } else {
120 120
                 return $this->view;
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
         }
248 248
 
249 249
         foreach ($sheets as $sheet) {
250
-            $string .= '<link rel="stylesheet" href="' . $sheet .'">' . "\r\n";
250
+            $string .= '<link rel="stylesheet" href="' . $sheet . '">' . "\r\n";
251 251
         }
252 252
 
253 253
         return $string;
Please login to merge, or discard this patch.