Completed
Push — develop ( 52c290...19c595 )
by Seth
02:32
created
import.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -424,7 +424,9 @@
 block discarded – undo
424 424
             'The Canvas URL you submitted could not be parsed.<pre>' . $_REQUEST['canvas_url'] . '</pre>',
425 425
             NotificationMessage::ERROR
426 426
         );
427
-        if (php_sapi_name() != 'cli') $smarty->display('page.tpl');
427
+        if (php_sapi_name() != 'cli') {
428
+        	$smarty->display('page.tpl');
429
+        }
428 430
         exit;
429 431
     }
430 432
 }
Please login to merge, or discard this patch.
src/SyncIntoCanvas/Filter.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@  discard block
 block discarded – undo
34 34
         $this->setExcludeExpression($exclude);
35 35
     }
36 36
 
37
+    /**
38
+     * @param boolean $enabled
39
+     */
37 40
     public function setEnabled($enabled)
38 41
     {
39 42
         $this->enabled = (boolean) $enabled;
@@ -44,6 +47,9 @@  discard block
 block discarded – undo
44 47
         return $enabled;
45 48
     }
46 49
 
50
+    /**
51
+     * @param string|null $regex
52
+     */
47 53
     public function setIncludeExpression($regex)
48 54
     {
49 55
         $this->include = (string) $regex;
@@ -57,6 +63,9 @@  discard block
 block discarded – undo
57 63
         return $this->include;
58 64
     }
59 65
 
66
+    /**
67
+     * @param string|null $regex
68
+     */
60 69
     public function setExcludeExpression($regex)
61 70
     {
62 71
         $this->exclude = (string) $regex;
Please login to merge, or discard this patch.