Completed
Pull Request — master (#41)
by
unknown
03:54
created
src/Parser/AnnotationParser.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -400,7 +400,7 @@  discard block
 block discarded – undo
400 400
      * Will try to figure out if the passed assertion has a private context or not.
401 401
      * This information will be entered into the assertion which will then be returned.
402 402
      *
403
-     * @param \AppserverIo\Psr\MetaobjectProtocol\Dbc\Assertions\AssertionInterface $assertion The assertion we need the context for
403
+     * @param AssertionInterface|null $assertion The assertion we need the context for
404 404
      *
405 405
      * @return void
406 406
      */
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
      * Will try to figure out if the passed assertion has a private context or not.
461 461
      * This information will be entered into the assertion which will then be returned.
462 462
      *
463
-     * @param \AppserverIo\Psr\MetaobjectProtocol\Dbc\Assertions\AssertionInterface $assertion The assertion we need the minimal scope for
463
+     * @param AssertionInterface|null $assertion The assertion we need the minimal scope for
464 464
      *
465 465
      * @return void
466 466
      */
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -21,13 +21,10 @@  discard block
 block discarded – undo
21 21
 namespace AppserverIo\Doppelgaenger\Parser;
22 22
 
23 23
 use AppserverIo\Doppelgaenger\Entities\Assertions\AssertionFactory;
24
-use AppserverIo\Doppelgaenger\Entities\Assertions\RawAssertion;
25
-use AppserverIo\Doppelgaenger\Entities\Assertions\TypedCollectionAssertion;
26 24
 use AppserverIo\Doppelgaenger\Entities\Definitions\AttributeDefinition;
27 25
 use AppserverIo\Doppelgaenger\Entities\Definitions\FunctionDefinition;
28 26
 use AppserverIo\Doppelgaenger\Entities\Joinpoint;
29 27
 use AppserverIo\Doppelgaenger\Entities\Lists\AssertionList;
30
-use AppserverIo\Doppelgaenger\Entities\Assertions\ChainedAssertion;
31 28
 use AppserverIo\Doppelgaenger\Config;
32 29
 use AppserverIo\Doppelgaenger\Entities\Lists\PointcutExpressionList;
33 30
 use AppserverIo\Doppelgaenger\Entities\PointcutExpression;
@@ -35,7 +32,6 @@  discard block
 block discarded – undo
35 32
 use AppserverIo\Psr\MetaobjectProtocol\Dbc\Assertions\AssertionInterface;
36 33
 use AppserverIo\Doppelgaenger\Interfaces\PropertiedStructureInterface;
37 34
 use AppserverIo\Doppelgaenger\Interfaces\StructureDefinitionInterface;
38
-use AppserverIo\Doppelgaenger\Dictionaries\ReservedKeywords;
39 35
 use AppserverIo\Psr\MetaobjectProtocol\Aop\Annotations\Introduce;
40 36
 use AppserverIo\Psr\MetaobjectProtocol\Dbc\Annotations\Ensures;
41 37
 use AppserverIo\Psr\MetaobjectProtocol\Dbc\Annotations\Invariant;
Please login to merge, or discard this patch.