Completed
Pull Request — master (#66)
by Vladimir
02:59
created
src/allejo/stakx/Manager/AssetManager.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -68,6 +68,7 @@  discard block
 block discarded – undo
68 68
 
69 69
     /**
70 70
      * {@inheritdoc}
71
+     * @param string $filePath
71 72
      */
72 73
     public function refreshItem($filePath)
73 74
     {
@@ -86,6 +87,7 @@  discard block
 block discarded – undo
86 87
 
87 88
     /**
88 89
      * {@inheritdoc}
90
+     * @param string $filePath
89 91
      */
90 92
     public function createNewItem($filePath)
91 93
     {
Please login to merge, or discard this patch.
src/allejo/stakx/Command/ContainerAwareCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
 {
15 15
     private $container;
16 16
 
17
+    /**
18
+     * @return \Symfony\Component\DependencyInjection\ContainerInterface
19
+     */
17 20
     public function getContainer()
18 21
     {
19 22
         if ($this->container === null)
Please login to merge, or discard this patch.
src/allejo/stakx/Compiler.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -110,6 +110,9 @@  discard block
 block discarded – undo
110 110
     // Twig parent templates
111 111
     ///
112 112
 
113
+    /**
114
+     * @param string $filePath
115
+     */
113 116
     public function isImportDependency($filePath)
114 117
     {
115 118
         return isset($this->importDependencies[$filePath]);
@@ -162,6 +165,9 @@  discard block
 block discarded – undo
162 165
         }
163 166
     }
164 167
 
168
+    /**
169
+     * @param string $filePath
170
+     */
165 171
     public function compileImportDependencies($filePath)
166 172
     {
167 173
         foreach ($this->importDependencies[$filePath] as &$dependent)
Please login to merge, or discard this patch.
src/allejo/stakx/Filesystem/FileExplorer.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,8 @@
 block discarded – undo
203 203
             }
204 204
 
205 205
             if (strpos($haystack, $query, $offset) !== false)
206
-            { // stop on first true result
206
+            {
207
+// stop on first true result
207 208
                 return true;
208 209
             }
209 210
         }
Please login to merge, or discard this patch.
src/allejo/stakx/DataTransformer/DataTransformerManager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -26,6 +26,9 @@
 block discarded – undo
26 26
         }
27 27
     }
28 28
 
29
+    /**
30
+     * @param string $extension
31
+     */
29 32
     public function getTransformer($extension)
30 33
     {
31 34
         if (isset($this->transformers[$extension]))
Please login to merge, or discard this patch.
src/allejo/stakx/Manager/DataManager.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,8 @@
 block discarded – undo
63 63
      */
64 64
     public function getJailedDataItems()
65 65
     {
66
-        return self::getJailedTrackedItems($this->trackedItemsFlattened, function (DataItem $dataItem) {
66
+        return self::getJailedTrackedItems($this->trackedItemsFlattened, function (DataItem $dataItem)
67
+        {
67 68
             return $dataItem->getBasename();
68 69
         });
69 70
     }
Please login to merge, or discard this patch.
src/allejo/stakx/Manager/CollectionManager.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -76,6 +76,7 @@
 block discarded – undo
76 76
 
77 77
     /**
78 78
      * {@inheritdoc}
79
+     * @param string $filePath
79 80
      */
80 81
     public function createNewItem($filePath)
81 82
     {
Please login to merge, or discard this patch.
src/allejo/stakx/Manager/ThemeManager.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@  discard block
 block discarded – undo
24 24
     private $themeData;
25 25
     private $themeName;
26 26
 
27
+    /**
28
+     * @param string $themeName
29
+     */
27 30
     public function __construct($themeName, EventDispatcherInterface $eventDispatcher, LoggerInterface $logger)
28 31
     {
29 32
         parent::__construct($eventDispatcher, $logger);
@@ -57,6 +60,7 @@  discard block
 block discarded – undo
57 60
 
58 61
     /**
59 62
      * {@inheritdoc}
63
+     * @param string $filePath
60 64
      */
61 65
     public function refreshItem($filePath)
62 66
     {
@@ -70,6 +74,7 @@  discard block
 block discarded – undo
70 74
 
71 75
     /**
72 76
      * {@inheritdoc}
77
+     * @param string $filePath
73 78
      */
74 79
     public function shouldBeTracked($filePath)
75 80
     {
@@ -80,6 +85,7 @@  discard block
 block discarded – undo
80 85
 
81 86
     /**
82 87
      * {@inheritdoc}
88
+     * @param string $filePath
83 89
      */
84 90
     public function createNewItem($filePath)
85 91
     {
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 
40 40
         if (!fs::exists($this->themeFolder))
41 41
         {
42
-            throw new FileNotFoundException("The '${themeName}' theme folder could not be found.'");
42
+            throw new FileNotFoundException("The '${themename}' theme folder could not be found.'");
43 43
         }
44 44
 
45 45
         if (fs::exists($this->themeFile))
Please login to merge, or discard this patch.
src/allejo/stakx/Manager/TrackingManager.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -78,9 +78,9 @@  discard block
 block discarded – undo
78 78
     protected $trackedItems = [];
79 79
 
80 80
     /**
81
-     * @param File|string $filePath
81
+     * @param string $filePath
82 82
      *
83
-     * @return mixed|null
83
+     * @return \allejo\stakx\Document\BasePageView
84 84
      */
85 85
     public function createNewItem($filePath)
86 86
     {
@@ -125,9 +125,9 @@  discard block
 block discarded – undo
125 125
     /**
126 126
      * Update the contents of a specified file.
127 127
      *
128
-     * @param File|string $filePath The relative path of the file
128
+     * @param string $filePath The relative path of the file
129 129
      *
130
-     * @return mixed|null
130
+     * @return \allejo\stakx\Document\BasePageView
131 131
      */
132 132
     public function refreshItem($filePath)
133 133
     {
Please login to merge, or discard this patch.