Completed
Push — master ( 1558fb...afafb1 )
by Nikita
22:44
created
src/Application.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,10 +1,7 @@
 block discarded – undo
1 1
 <?php 
2 2
 namespace samsoncms\cms;
3 3
 
4
-use samson\activerecord\dbQuery;
5 4
 use samson\core\CompressableExternalModule;
6
-use samson\pager\Pager;
7
-use samsonphp\event\Event;
8 5
 
9 6
 /**
10 7
  * SamsonCMS external compressible application for integrating
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,13 +14,13 @@
 block discarded – undo
14 14
     /** @var string Module identifier */
15 15
     protected $id = 'cms';
16 16
 
17
-    public function init( array $params = array() ) {
17
+    public function init(array $params = array()) {
18 18
         // Call parent initialization
19
-        return parent::init( $params );
19
+        return parent::init($params);
20 20
     }
21 21
 
22
-    public function initUrl( & $urlObj, & $urlArgs ) {
23
-        if(($urlArgs[0] == 'cms')&&(isset($urlArgs[1]))) {
22
+    public function initUrl(& $urlObj, & $urlArgs) {
23
+        if (($urlArgs[0] == 'cms') && (isset($urlArgs[1]))) {
24 24
             $urlArgs[1] = 'cms-'.$urlArgs[1];
25 25
             unset($urlArgs[0]);
26 26
         }
Please login to merge, or discard this patch.