Completed
Push — master ( 210649...ef3b6a )
by Neomerx
05:34
created
src/Validation/JsonApi/Rules/AreReadableViaApiRule.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,6 @@
 block discarded – undo
77 77
         $result = count($readIndexes) === count($values);
78 78
 
79 79
         return $result === true ?
80
-            static::createSuccessReply($values) :
81
-            static::createErrorReply($context, $values, ErrorCodes::EXIST_IN_DATABASE_MULTIPLE);
80
+            static::createSuccessReply($values) : static::createErrorReply($context, $values, ErrorCodes::EXIST_IN_DATABASE_MULTIPLE);
82 81
     }
83 82
 }
Please login to merge, or discard this patch.
src/Validation/JsonApi/Rules/IsReadableViaApiRule.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,6 @@
 block discarded – undo
76 76
         $result = !empty($data);
77 77
 
78 78
         return $result === true ?
79
-            static::createSuccessReply($value) :
80
-            static::createErrorReply($context, $value, ErrorCodes::EXIST_IN_DATABASE_SINGLE);
79
+            static::createSuccessReply($value) : static::createErrorReply($context, $value, ErrorCodes::EXIST_IN_DATABASE_SINGLE);
81 80
     }
82 81
 }
Please login to merge, or discard this patch.
src/Validation/JsonApi/Rules/ExistInDbTableMultipleWithDoctrineRule.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,8 +86,7 @@
 block discarded – undo
86 86
         }
87 87
 
88 88
         $reply = $count > 0 ?
89
-            static::createSuccessReply($values) :
90
-            static::createErrorReply($context, $values, ErrorCodes::EXIST_IN_DATABASE_MULTIPLE);
89
+            static::createSuccessReply($values) : static::createErrorReply($context, $values, ErrorCodes::EXIST_IN_DATABASE_MULTIPLE);
91 90
 
92 91
         return $reply;
93 92
     }
Please login to merge, or discard this patch.
src/Validation/JsonApi/Rules/UniqueInDbTableSingleWithDoctrineRule.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,8 +81,7 @@
 block discarded – undo
81 81
         }
82 82
 
83 83
         $reply = $count <= 0 ?
84
-            static::createSuccessReply($value) :
85
-            static::createErrorReply($context, $value, ErrorCodes::UNIQUE_IN_DATABASE_SINGLE);
84
+            static::createSuccessReply($value) : static::createErrorReply($context, $value, ErrorCodes::UNIQUE_IN_DATABASE_SINGLE);
86 85
 
87 86
         return $reply;
88 87
     }
Please login to merge, or discard this patch.
src/Validation/JsonApi/Rules/ExistInDbTableSingleWithDoctrineRule.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,8 +82,7 @@
 block discarded – undo
82 82
         }
83 83
 
84 84
         $reply = $count > 0 ?
85
-            static::createSuccessReply($value) :
86
-            static::createErrorReply($context, $value, ErrorCodes::EXIST_IN_DATABASE_SINGLE);
85
+            static::createSuccessReply($value) : static::createErrorReply($context, $value, ErrorCodes::EXIST_IN_DATABASE_SINGLE);
87 86
 
88 87
         return $reply;
89 88
     }
Please login to merge, or discard this patch.
src/Validation/JsonApi/Rules/ToOneRelationshipTypeCheckerRule.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,7 @@
 block discarded – undo
62 62
         assert(is_scalar($index) === true && is_scalar($type) === true);
63 63
         $expectedType = $context->getProperties()->getProperty(static::PROPERTY_RESOURCE_TYPE);
64 64
         $reply        = $type === $expectedType ?
65
-            static::createSuccessReply($index) :
66
-            static::createErrorReply($context, $type, ErrorCodes::INVALID_RELATIONSHIP_TYPE);
65
+            static::createSuccessReply($index) : static::createErrorReply($context, $type, ErrorCodes::INVALID_RELATIONSHIP_TYPE);
67 66
 
68 67
         return $reply;
69 68
     }
Please login to merge, or discard this patch.
src/Contracts/Models/TagStorageInterface.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@
 block discarded – undo
1 1
 <?php namespace Limoncello\Flute\Contracts\Models;
2 2
 
3 3
     /**
4
- * Copyright 2015-2018 [email protected]
5
- *
6
- * Licensed under the Apache License, Version 2.0 (the "License");
7
- * you may not use this file except in compliance with the License.
8
- * You may obtain a copy of the License at
9
- *
10
- * http://www.apache.org/licenses/LICENSE-2.0
11
- *
12
- * Unless required by applicable law or agreed to in writing, software
13
- * distributed under the License is distributed on an "AS IS" BASIS,
14
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- * See the License for the specific language governing permissions and
16
- * limitations under the License.
17
- */
4
+     * Copyright 2015-2018 [email protected]
5
+     *
6
+     * Licensed under the Apache License, Version 2.0 (the "License");
7
+     * you may not use this file except in compliance with the License.
8
+     * You may obtain a copy of the License at
9
+     *
10
+     * http://www.apache.org/licenses/LICENSE-2.0
11
+     *
12
+     * Unless required by applicable law or agreed to in writing, software
13
+     * distributed under the License is distributed on an "AS IS" BASIS,
14
+     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+     * See the License for the specific language governing permissions and
16
+     * limitations under the License.
17
+     */
18 18
 
19 19
 /**
20 20
  * @package Limoncello\Flute
Please login to merge, or discard this patch.
src/Contracts/Models/PaginatedDataInterface.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@
 block discarded – undo
1 1
 <?php namespace Limoncello\Flute\Contracts\Models;
2 2
 
3 3
     /**
4
- * Copyright 2015-2018 [email protected]
5
- *
6
- * Licensed under the Apache License, Version 2.0 (the "License");
7
- * you may not use this file except in compliance with the License.
8
- * You may obtain a copy of the License at
9
- *
10
- * http://www.apache.org/licenses/LICENSE-2.0
11
- *
12
- * Unless required by applicable law or agreed to in writing, software
13
- * distributed under the License is distributed on an "AS IS" BASIS,
14
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- * See the License for the specific language governing permissions and
16
- * limitations under the License.
17
- */
4
+     * Copyright 2015-2018 [email protected]
5
+     *
6
+     * Licensed under the Apache License, Version 2.0 (the "License");
7
+     * you may not use this file except in compliance with the License.
8
+     * You may obtain a copy of the License at
9
+     *
10
+     * http://www.apache.org/licenses/LICENSE-2.0
11
+     *
12
+     * Unless required by applicable law or agreed to in writing, software
13
+     * distributed under the License is distributed on an "AS IS" BASIS,
14
+     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+     * See the License for the specific language governing permissions and
16
+     * limitations under the License.
17
+     */
18 18
 
19 19
 /**
20 20
  * @package Limoncello\Flute
Please login to merge, or discard this patch.
src/Contracts/Models/ModelStorageInterface.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@
 block discarded – undo
1 1
 <?php namespace Limoncello\Flute\Contracts\Models;
2 2
 
3 3
     /**
4
- * Copyright 2015-2018 [email protected]
5
- *
6
- * Licensed under the Apache License, Version 2.0 (the "License");
7
- * you may not use this file except in compliance with the License.
8
- * You may obtain a copy of the License at
9
- *
10
- * http://www.apache.org/licenses/LICENSE-2.0
11
- *
12
- * Unless required by applicable law or agreed to in writing, software
13
- * distributed under the License is distributed on an "AS IS" BASIS,
14
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- * See the License for the specific language governing permissions and
16
- * limitations under the License.
17
- */
4
+     * Copyright 2015-2018 [email protected]
5
+     *
6
+     * Licensed under the Apache License, Version 2.0 (the "License");
7
+     * you may not use this file except in compliance with the License.
8
+     * You may obtain a copy of the License at
9
+     *
10
+     * http://www.apache.org/licenses/LICENSE-2.0
11
+     *
12
+     * Unless required by applicable law or agreed to in writing, software
13
+     * distributed under the License is distributed on an "AS IS" BASIS,
14
+     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+     * See the License for the specific language governing permissions and
16
+     * limitations under the License.
17
+     */
18 18
 
19 19
 /**
20 20
  * @package Limoncello\Flute
Please login to merge, or discard this patch.