Completed
Pull Request — 1.0 (#53)
by Harald
05:19
created
src/Transfer/EzPlatform/Repository/Manager/ContentTypeManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
      * @param ObjectInterface|EzPlatformObject $object
86 86
      * @param bool                             $throwException
87 87
      *
88
-     * @return ContentType|false
88
+     * @return ContentType
89 89
      *
90 90
      * @throws NotFoundException
91 91
      */
Please login to merge, or discard this patch.
src/Transfer/EzPlatform/Repository/Manager/LocationManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
      * @param int  $id
110 110
      * @param bool $throwException
111 111
      *
112
-     * @return Location|false
112
+     * @return Location
113 113
      */
114 114
     public function findById($id, $throwException = false)
115 115
     {
Please login to merge, or discard this patch.
src/Transfer/EzPlatform/Repository/Values/Mapper/UserGroupMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     
37 37
     public function userGroupToObject(UserGroup $userGroup)
38 38
     {
39
-        if(!isset($this->userGroupObject->data['parent_id'])) {
39
+        if (!isset($this->userGroupObject->data['parent_id'])) {
40 40
             $this->userGroupObject->data['parent_id'] = $userGroup->parentId;
41 41
         }
42 42
 
Please login to merge, or discard this patch.
src/Transfer/EzPlatform/Repository/Values/ContentObject.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,9 +89,9 @@
 block discarded – undo
89 89
      */
90 90
     public function __construct($data, array $properties = array())
91 91
     {
92
-        if($data instanceof Content) {
92
+        if ($data instanceof Content) {
93 93
             $this->getMapper()->contentToObject($data);
94
-        }else {
94
+        } else {
95 95
             parent::__construct($data, array_merge(
96 96
                 array(
97 97
                     'main_object' => true,
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
     {
92 92
         if($data instanceof Content) {
93 93
             $this->getMapper()->contentToObject($data);
94
-        }else {
94
+        } else {
95 95
             parent::__construct($data, array_merge(
96 96
                 array(
97 97
                     'main_object' => true,
Please login to merge, or discard this patch.