|  | @@ -44,9 +44,9 @@ class LuDocParserTest extends \PHPUnit_Framework_TestCase
 | 
		
	
		
			
			| 44 | 44 |          }
 | 
		
	
		
			
			| 45 | 45 |          
 | 
		
	
		
			
			| 46 | 46 |          $expectedParams = [
 | 
		
	
		
			
			| 47 |  | -            ["Name" => 'myvar', "Type" => "MyType", "Summary" => "some doc\n",
 | 
		
	
		
			
			|  | 47 | +            ["NotNull" => true, "Summary" => "some doc\n", "Type" => "MyType", "Name" => 'myvar',
 | 
		
	
		
			
			| 48 | 48 |                  "Constraints" => []],
 | 
		
	
		
			
			| 49 |  | -            ["Name" => 'myvar2', "Type" => "MyType", "Summary" => "some other doc\n",
 | 
		
	
		
			
			|  | 49 | +            ["NotNull" => true, "Summary" => "some other doc\n", "Type" => "MyType", "Name" => 'myvar2',
 | 
		
	
		
			
			| 50 | 50 |                  "Constraints" => []]
 | 
		
	
		
			
			| 51 | 51 |          ];
 | 
		
	
		
			
			| 52 | 52 |          
 | 
		
	
	
		
			
			|  | @@ -70,10 +70,10 @@ class LuDocParserTest extends \PHPUnit_Framework_TestCase
 | 
		
	
		
			
			| 70 | 70 |          }
 | 
		
	
		
			
			| 71 | 71 |  
 | 
		
	
		
			
			| 72 | 72 |          $expectedParams = [
 | 
		
	
		
			
			| 73 |  | -            'myvar' => ["Name" => 'myvar', "Type" => "MyType", "Summary" => "some doc\n",
 | 
		
	
		
			
			|  | 73 | +            'myvar' => ["NotNull" => true, "Summary" => "some doc\n", "Type" => "MyType", "Name" => 'myvar',
 | 
		
	
		
			
			| 74 | 74 |                  "Constraints" => []],
 | 
		
	
		
			
			| 75 |  | -            'myvar2' => ["Name" => 'myvar2', "Type" => "MyType", "Summary" => "some other doc\non another line\n",
 | 
		
	
		
			
			| 76 |  | -                "Constraints" => []]
 | 
		
	
		
			
			|  | 75 | +            'myvar2' => ["NotNull" => true, "Summary" => "some other doc\non another line\n", "Type" => "MyType",
 | 
		
	
		
			
			|  | 76 | +                "Name" => 'myvar2', "Constraints" => []]
 | 
		
	
		
			
			| 77 | 77 |          ];
 | 
		
	
		
			
			| 78 | 78 |  
 | 
		
	
		
			
			| 79 | 79 |          $this->assertSame($expectedParams, $params);
 | 
		
	
	
		
			
			|  | @@ -88,6 +88,7 @@ class LuDocParserTest extends \PHPUnit_Framework_TestCase
 | 
		
	
		
			
			| 88 | 88 |       * Too much doc
 | 
		
	
		
			
			| 89 | 89 |       * @param MyType $myvar2 some other doc
 | 
		
	
		
			
			| 90 | 90 |       * on another line
 | 
		
	
		
			
			|  | 91 | +     * @nullable
 | 
		
	
		
			
			| 91 | 92 |       * @min 42
 | 
		
	
		
			
			| 92 | 93 |       * @max 42
 | 
		
	
		
			
			| 93 | 94 |       * @between 0 42
 | 
		
	
	
		
			
			|  | @@ -105,9 +106,10 @@ class LuDocParserTest extends \PHPUnit_Framework_TestCase
 | 
		
	
		
			
			| 105 | 106 |          }
 | 
		
	
		
			
			| 106 | 107 |  
 | 
		
	
		
			
			| 107 | 108 |          $expectedParams = [
 | 
		
	
		
			
			| 108 |  | -            'myvar' => ["Name" => 'myvar', "Type" => "MyType", "Summary" => "some doc\nToo much doc\n",
 | 
		
	
		
			
			| 109 |  | -                "Constraints" => []],
 | 
		
	
		
			
			| 110 |  | -            'myvar2' => ["Name" => 'myvar2', "Type" => "MyType", "Summary" => "some other doc\non another line\nand another\n",
 | 
		
	
		
			
			|  | 109 | +            'myvar' => ["NotNull" => true, "Summary" => "some doc\nToo much doc\n", "Type" => "MyType",
 | 
		
	
		
			
			|  | 110 | +                "Name" => 'myvar', "Constraints" => []],
 | 
		
	
		
			
			|  | 111 | +            'myvar2' => ["NotNull" => false, "Summary" => "some other doc\non another line\nand another\n",
 | 
		
	
		
			
			|  | 112 | +                "Type" => "MyType", "Name" => 'myvar2',
 | 
		
	
		
			
			| 111 | 113 |                  "Constraints" => [
 | 
		
	
		
			
			| 112 | 114 |                      ["Method" => "min", "Arguments" => [42]],
 | 
		
	
		
			
			| 113 | 115 |                      ["Method" => "max", "Arguments" => [42]],
 |