Completed
Pull Request — 1.0 (#53)
by Harald
06:31
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/Manager/LanguageManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@
 block discarded – undo
170 170
         } catch (NotFoundException $e) {
171 171
             return true;
172 172
         } catch (InvalidArgumentException $ee) {
173
-            if($this->logger) {
173
+            if ($this->logger) {
174 174
                 $this->logger->warning('Tried to delete the main language, or a language that still has existing translations (is in use).');
175 175
             }
176 176
             return false;
Please login to merge, or discard this patch.