Completed
Push — master ( a6c8f9...b97be3 )
by Vladimir
03:52 queued 19s
created
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/Document/CollectableItem.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@  discard block
 block discarded – undo
12 12
  */
13 13
 interface CollectableItem
14 14
 {
15
+    /**
16
+     * @return string
17
+     */
15 18
     public function getRelativeFilePath();
16 19
 
17 20
     /**
@@ -58,6 +61,7 @@  discard block
 block discarded – undo
58 61
      * Evaluate the FrontMatter in this object by merging a custom array of data.
59 62
      *
60 63
      * @param array|null $variables An array of YAML variables to use in evaluating the `$permalink` value
64
+     * @return void
61 65
      */
62 66
     public function evaluateFrontMatter(array $variables = null);
63 67
 }
Please login to merge, or discard this patch.
src/allejo/stakx/Manager/CollectionManager.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * Get all of the ContentItems grouped by Collection name.
51 51
      *
52
-     * @return ContentItem[][]
52
+     * @return \allejo\stakx\Document\ReadableDocument[]
53 53
      */
54 54
     public function &getCollections()
55 55
     {
@@ -135,6 +135,7 @@  discard block
 block discarded – undo
135 135
 
136 136
     /**
137 137
      * {@inheritdoc}
138
+     * @param string $filePath
138 139
      */
139 140
     public function createNewItem($filePath)
140 141
     {
Please login to merge, or discard this patch.
src/allejo/stakx/Manager/PageManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
      *
102 102
      * @since  0.1.1
103 103
      *
104
-     * @return BasePageView[][]
104
+     * @return \allejo\stakx\Document\ReadableDocument[]
105 105
      */
106 106
     public function &getPageViews()
107 107
     {
Please login to merge, or discard this patch.
src/allejo/stakx/Manager/TrackingManager.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -88,9 +88,9 @@  discard block
 block discarded – undo
88 88
     }
89 89
 
90 90
     /**
91
-     * @param File|string $filePath
91
+     * @param string $filePath
92 92
      *
93
-     * @return mixed|null
93
+     * @return \allejo\stakx\Document\BasePageView
94 94
      */
95 95
     public function createNewItem($filePath)
96 96
     {
@@ -135,9 +135,9 @@  discard block
 block discarded – undo
135 135
     /**
136 136
      * Update the contents of a specified file.
137 137
      *
138
-     * @param File|string $filePath The relative path of the file
138
+     * @param string $filePath The relative path of the file
139 139
      *
140
-     * @return mixed|null
140
+     * @return \allejo\stakx\Document\BasePageView
141 141
      */
142 142
     public function refreshItem($filePath)
143 143
     {
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
     /**
287 287
      * Return an array of JailedDocuments created from the tracked items
288 288
      *
289
-     * @param array    $elements
289
+     * @param ReadableDocument[]    $elements
290 290
      * @param \Closure $name
291 291
      *
292 292
      * @return JailedDocument[]|JailedDocument[][]
Please login to merge, or discard this patch.