Test Setup Failed
Push — master ( 0a3e88...820bc9 )
by Christopher
04:41
created
src/POData/Providers/Metadata/SimpleMetadataProvider.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use AlgoWeb\ODataMetadata\MetadataV3\edm\TComplexTypeType;
7 7
 use AlgoWeb\ODataMetadata\MetadataV3\edm\TEntityTypeType;
8 8
 use POData\Common\InvalidOperationException;
9
-use POData\Common\NotImplementedException;
10 9
 use POData\Providers\Metadata\Type\IType;
11 10
 use POData\Providers\Metadata\Type\TypeCode;
12 11
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -276,7 +276,7 @@
 block discarded – undo
276 276
         $type = null;
277 277
         if ($typeKind == ResourceTypeKind::ENTITY) {
278 278
             $oet = $this->metadataManager->addEntityType($name);
279
-            assert($oet instanceof TEntityTypeType, "Entity type ".$name. " not successfully added");
279
+            assert($oet instanceof TEntityTypeType, "Entity type " . $name . " not successfully added");
280 280
             $type = new ResourceEntityType($refClass, $oet, $this);
281 281
             $this->OdataEntityMap[$type->getFullName()] = $oet;
282 282
         } elseif ($typeKind == ResourceTypeKind::COMPLEX) {
Please login to merge, or discard this patch.
src/POData/Providers/Metadata/ResourceAssociationType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
      * @param ResourceEntityType    $resourceType     Resource type for the source end
125 125
      * @param ResourceProperty      $resourceProperty Resource property for the source end
126 126
      *
127
-     * @return ResourceAssociationTypeEndRelated Association type end for the
127
+     * @return ResourceAssociationTypeEnd|null Association type end for the
128 128
      *                                           given parameters
129 129
      */
130 130
     public function getRelatedResourceAssociationSetEnd(
Please login to merge, or discard this patch.