Completed
Push — master ( 8dcc19...0acb93 )
by Aleh
10s
created
src/Padawan/Framework/Complete/Resolver/NodeTypeResolver.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -145,6 +145,7 @@
 block discarded – undo
145 145
     }
146 146
 
147 147
     /**
148
+     * @param \PhpParser\Node $node
148 149
      * @return Chain
149 150
      */
150 151
     protected function createChain($node)
Please login to merge, or discard this patch.
src/Padawan/Parser/Walker/ScopeWalker.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -88,6 +88,10 @@
 block discarded – undo
88 88
         }
89 89
         return $line >= $startLine;
90 90
     }
91
+
92
+    /**
93
+     * @param Node $node
94
+     */
91 95
     public function getNodeLines($node)
92 96
     {
93 97
         $startLine = $endLine = -1;
Please login to merge, or discard this patch.
src/Padawan/Domain/Completion/Token.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -162,6 +162,10 @@
 block discarded – undo
162 162
     {
163 163
         $this->type = $type;
164 164
     }
165
+
166
+    /**
167
+     * @param integer $type
168
+     */
165 169
     protected function addType($type)
166 170
     {
167 171
         $this->type |= $type;
Please login to merge, or discard this patch.
src/Padawan/Domain/Scope/ClassScope.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     }
33 33
 
34 34
     /**
35
-     * @return FQCN
35
+     * @return \Padawan\Domain\Project\FQCN
36 36
      */
37 37
     public function getFQCN()
38 38
     {
Please login to merge, or discard this patch.
src/Padawan/Domain/Scope/MethodScope.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -22,6 +22,10 @@
 block discarded – undo
22 22
     {
23 23
         return $this->getParent()->getFQCN();
24 24
     }
25
+
26
+    /**
27
+     * @return \Padawan\Domain\Project\Node\ClassData
28
+     */
25 29
     public function getClass()
26 30
     {
27 31
         return $this->getParent()->getClass();
Please login to merge, or discard this patch.
src/Padawan/Parser/Transformer/ClassAssignmentTransformer.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -16,6 +16,11 @@
 block discarded – undo
16 16
     {
17 17
         $this->typeResolver = $typeResolver;
18 18
     }
19
+
20
+    /**
21
+     * @param \Padawan\Domain\Scope\MethodScope $scope
22
+     * @param \Padawan\Domain\Project\Index $index
23
+     */
19 24
     public function transform(Assign $node, ClassData $class, $scope, $index)
20 25
     {
21 26
         $fetch = $node->var;
Please login to merge, or discard this patch.
src/Padawan/Framework/Complete/Resolver/ContextResolver.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -28,6 +28,10 @@  discard block
 block discarded – undo
28 28
         $this->logger = $logger;
29 29
         $this->useParser = $useParser;
30 30
     }
31
+
32
+    /**
33
+     * @param string $badLine
34
+     */
31 35
     public function getContext($badLine, Index $index, Scope $scope = null)
32 36
     {
33 37
         if (empty($scope)) {
@@ -118,6 +122,9 @@  discard block
 block discarded – undo
118 122
         return $token;
119 123
     }
120 124
 
125
+    /**
126
+     * @return string
127
+     */
121 128
     protected function prepareLine($badLine, $wrapFunctionCall = true)
122 129
     {
123 130
         if (strpos($badLine, '<?php') === false
Please login to merge, or discard this patch.
src/Padawan/Framework/Generator/IndexGenerator.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -102,6 +102,10 @@  discard block
 block discarded – undo
102 102
             );
103 103
         }
104 104
     }
105
+
106
+    /**
107
+     * @param string $content
108
+     */
105 109
     public function createScopeForFile(File $file, $content, Index $index, $rewrite = true)
106 110
     {
107 111
         $startParser = microtime(1);
@@ -114,6 +118,10 @@  discard block
 block discarded – undo
114 118
         $this->getLogger()->info("Parsing: [$end]s");
115 119
         return $scope;
116 120
     }
121
+
122
+    /**
123
+     * @param string $hash
124
+     */
117 125
     public function processFileScope(File $file, Index $index, FileScope $scope = null, $hash = null)
118 126
     {
119 127
         if (empty($scope)) {
Please login to merge, or discard this patch.
src/Padawan/Parser/Parser.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -88,6 +88,10 @@
 block discarded – undo
88 88
         }
89 89
         return $nodes;
90 90
     }
91
+
92
+    /**
93
+     * @param \Padawan\Domain\Project\Index $index
94
+     */
91 95
     public function setIndex($index)
92 96
     {
93 97
         foreach ($this->walkers as $walker) {
Please login to merge, or discard this patch.