Passed
Push — master ( 5928a0...6c7f1e )
by dima
02:51
created
example/Domain/User/User.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -22,6 +22,11 @@
 block discarded – undo
22 22
 	protected $group;
23 23
 	protected $address;
24 24
 			
25
+	/**
26
+	 * @param string $name
27
+	 * @param string $email
28
+	 * @param string $password
29
+	 */
25 30
 	function __construct($name, $email, $password, UserGroup $Group) {
26 31
 		$this->setName($name);
27 32
 		$this->setEmail($email);
Please login to merge, or discard this patch.
example/Domain/UserAddress/UserAddress.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -22,6 +22,10 @@
 block discarded – undo
22 22
 	
23 23
 	protected $city;
24 24
 
25
+	/**
26
+	 * @param string $code
27
+	 * @param string $street
28
+	 */
25 29
 	function __construct(City $City,$code,$street) {
26 30
 		$this->setCity($City);
27 31
 		$this->setCode($code);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 	
23 23
 	protected $city;
24 24
 
25
-	function __construct(City $City,$code,$street) {
25
+	function __construct(City $City, $code, $street) {
26 26
 		$this->setCity($City);
27 27
 		$this->setCode($code);
28 28
 		$this->setStreet($street);
Please login to merge, or discard this patch.
example/Domain/UserAddress/UserAddressMapper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,8 +30,8 @@  discard block
 block discarded – undo
30 30
 	 * @return type
31 31
 	 */
32 32
 	public function createEntity(array $row) {
33
-		$City =  $this->DI->get('CityMapper')->createEntity([]);
34
-		return $this->buildEntity(new UserAddress( $City ,'201000','Lenina 63'), $row);
33
+		$City = $this->DI->get('CityMapper')->createEntity([]);
34
+		return $this->buildEntity(new UserAddress($City, '201000', 'Lenina 63'), $row);
35 35
 	}	
36 36
 	
37 37
 	/**
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 					'primary'	 => true
47 47
 					]
48 48
 				)
49
-				->addMappingField('code','adr_code')
49
+				->addMappingField('code', 'adr_code')
50 50
 				->addMappingField('street', 'adr_street')
51 51
 				->addMappingField('city', [
52 52
 					'field'		=> 'adr_cty_id',
Please login to merge, or discard this patch.