Completed
Push — develop ( cfda19...acc675 )
by Dmytro
17:49 queued 04:27
created
manager/includes/src/Interfaces/CoreInterface.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@  discard block
 block discarded – undo
3 3
 interface CoreInterface
4 4
 {
5 5
     /**
6
-     * @param $type
7
-     * @param $scanPath
8
-     * @param array $ext
6
+     * @param string $type
7
+     * @param string $scanPath
8
+     * @param string[] $ext
9 9
      *
10 10
      * @return array
11 11
      *
@@ -18,6 +18,7 @@  discard block
 block discarded – undo
18 18
      * @param string $phpCode
19 19
      * @param string $namespace
20 20
      * @param array defaultParams
21
+     * @return void
21 22
      */
22 23
     public function addSnippet($name, $phpCode, $namespace = '#', array $defaultParams = array());
23 24
 
@@ -25,6 +26,7 @@  discard block
 block discarded – undo
25 26
      * @param string $name
26 27
      * @param string $text
27 28
      * @param string $namespace
29
+     * @return void
28 30
      */
29 31
     public function addChunk($name, $text, $namespace = '#');
30 32
 }
Please login to merge, or discard this patch.
manager/includes/src/ManagerTheme.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     {
38 38
         $found = $this->core->findElements(
39 39
             'chunk',
40
-            MODX_MANAGER_PATH . 'media/style/' . $this->theme . '/snippets/',
40
+            MODX_MANAGER_PATH.'media/style/'.$this->theme.'/snippets/',
41 41
             array('php')
42 42
         );
43 43
         foreach ($found as $name => $code) {
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     {
50 50
         $found = $this->core->findElements(
51 51
             'chunk',
52
-            MODX_MANAGER_PATH . 'media/style/' . $this->theme . '/chunks/',
52
+            MODX_MANAGER_PATH.'media/style/'.$this->theme.'/chunks/',
53 53
             array('tpl', 'html')
54 54
         );
55 55
         foreach ($found as $name => $code) {
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         $this->core->addSnippet(
63 63
             $name,
64 64
             $code,
65
-            $this->templateNamespace . '#',
65
+            $this->templateNamespace.'#',
66 66
             array(
67 67
                 'managerTheme' => $this
68 68
             )
@@ -71,6 +71,6 @@  discard block
 block discarded – undo
71 71
 
72 72
     public function addChunk($name, $code)
73 73
     {
74
-        $this->core->addChunk($name, $code, $this->templateNamespace . '#');
74
+        $this->core->addChunk($name, $code, $this->templateNamespace.'#');
75 75
     }
76 76
 }
Please login to merge, or discard this patch.