Completed
Push — master ( e41e91...2b4213 )
by Aleh
01:47 queued 01:39
created
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/Framework/Generator/IndexGenerator.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Padawan\Framework\Generator;
4 4
 
5
-use Padawan\Domain\Project\Node\ClassData;
6
-use Padawan\Domain\Project\Node\InterfaceData;
7 5
 use Padawan\Domain\Event\IndexGenerationEvent;
8 6
 use Padawan\Domain\Project\Index;
9 7
 use Padawan\Domain\Project;
Please login to merge, or discard this patch.
src/Padawan/Parser/Parser.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -35,6 +35,10 @@  discard block
 block discarded – undo
35 35
         $content = $this->path->read($file);
36 36
         return $this->parseContent($file, $content, $uses, $createCache);
37 37
     }
38
+
39
+    /**
40
+     * @return \Padawan\Domain\Scope\FileScope
41
+     */
38 42
     public function parseContent($file, $content, Uses $uses = null, $createCache = true)
39 43
     {
40 44
         if ($createCache) {
@@ -110,6 +114,10 @@  discard block
 block discarded – undo
110 114
         }
111 115
         return $nodes;
112 116
     }
117
+
118
+    /**
119
+     * @param \Padawan\Domain\Project\Index $index
120
+     */
113 121
     public function setIndex($index)
114 122
     {
115 123
         foreach ($this->walkers as $walker) {
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/Parser/Walker/ScopeWalker.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use Padawan\Domain\Project\Node\Variable;
13 13
 use Padawan\Domain\Scope;
14 14
 use Padawan\Domain\Scope\FileScope;
15
-use Padawan\Domain\Scope\FunctionScope;
16 15
 use Padawan\Domain\Scope\MethodScope;
17 16
 use Padawan\Domain\Scope\ClassScope;
18 17
 use Padawan\Domain\Scope\ClosureScope;
Please login to merge, or discard this patch.