Completed
Push — master ( 7c7e73...f73344 )
by
unknown
01:47
created
src/EntityRepository.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Mapado\RestClientSdk\Exception\SdkException;
6 6
 use Mapado\RestClientSdk\Helper\ArrayHelper;
7
-use Symfony\Component\Cache\CacheItem;
8 7
 use Mapado\RestClientSdk\UnitOfWork;
9 8
 
10 9
 class EntityRepository
Please login to merge, or discard this patch.
Tests/Units/Model/ModelHydrator.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@
 block discarded – undo
3 3
 namespace Mapado\RestClientSdk\Tests\Units\Model;
4 4
 
5 5
 use atoum;
6
-use DateTime;
7 6
 use Mapado\RestClientSdk\Mapping;
8 7
 use Mapado\RestClientSdk\Mapping\Attribute;
9 8
 use Mapado\RestClientSdk\Mapping\ClassMetadata;
10
-use Mapado\RestClientSdk\Mapping\Relation;
11 9
 use Mapado\RestClientSdk\Model\Serializer;
12 10
 use Mapado\RestClientSdk\UnitOfWork;
13 11
 
Please login to merge, or discard this patch.
src/UnitOfWork.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,6 @@  discard block
 block discarded – undo
101 101
      *
102 102
      * compares serialize object and returns only modified fields
103 103
      *
104
-     * @param array $newArrayModel
105 104
      * @param array $oldSerializedModel
106 105
      * @param ClassMetadata $classMetadata
107 106
      * @access private
@@ -152,6 +151,7 @@  discard block
 block discarded – undo
152 151
      *
153 152
      * @param array $newSerializedModel
154 153
      * @param array $dirtyFields
154
+     * @param string $idSerializedKey
155 155
      * @access private
156 156
      * @return array
157 157
      */
Please login to merge, or discard this patch.
Tests/Units/Model/Serializer.php 1 patch
Doc Comments   +7 added lines, -6 removed lines patch added patch discarded remove patch
@@ -786,7 +786,7 @@  discard block
 block discarded – undo
786 786
      * createNewCart
787 787
      *
788 788
      * @access private
789
-     * @return \Mapado\RestClientSdk\Tests\Model\Cart
789
+     * @return \Mapado\RestClientSdk\Tests\Model\JsonLd\Cart
790 790
      */
791 791
     private function createNewCart()
792 792
     {
@@ -805,7 +805,7 @@  discard block
 block discarded – undo
805 805
      * createCart
806 806
      *
807 807
      * @access private
808
-     * @return \Mapado\RestClientSdk\Tests\Model\Cart
808
+     * @return \Mapado\RestClientSdk\Tests\Model\JsonLd\Cart
809 809
      */
810 810
     private function createCart()
811 811
     {
@@ -819,7 +819,7 @@  discard block
 block discarded – undo
819 819
      * createKnownCartItem
820 820
      *
821 821
      * @access private
822
-     * @return \Mapado\RestClientSdk\Tests\Model\CartItem
822
+     * @return \Mapado\RestClientSdk\Tests\Model\JsonLd\CartItem
823 823
      */
824 824
     private function createKnownCartItem()
825 825
     {
@@ -840,7 +840,7 @@  discard block
 block discarded – undo
840 840
      * createNewCartItem
841 841
      *
842 842
      * @access private
843
-     * @return \Mapado\RestClientSdk\Tests\Model\CartItem
843
+     * @return \Mapado\RestClientSdk\Tests\Model\JsonLd\CartItem
844 844
      */
845 845
     private function createNewCartItem($addKnownedProduct = true)
846 846
     {
@@ -863,7 +863,7 @@  discard block
 block discarded – undo
863 863
      * createNewProduct
864 864
      *
865 865
      * @access private
866
-     * @return \Mapado\RestClientSdk\Tests\Model\Product
866
+     * @return \Mapado\RestClientSdk\Tests\Model\JsonLd\Product
867 867
      */
868 868
     private function createNewProduct()
869 869
     {
@@ -880,7 +880,7 @@  discard block
 block discarded – undo
880 880
      * createKnownedProduct
881 881
      *
882 882
      * @access private
883
-     * @return \Mapado\RestClientSdk\Tests\Model\Product
883
+     * @return \Mapado\RestClientSdk\Tests\Model\JsonLd\Product
884 884
      */
885 885
     private function createKnownedProduct()
886 886
     {
@@ -935,6 +935,7 @@  discard block
 block discarded – undo
935 935
 
936 936
     /**
937 937
      * @param string $modelName
938
+     * @param UnitOfWork $unitOfWork
938 939
      */
939 940
     private function getCartRepositoryMock($sdk, $restClient, $unitOfWork, $modelName)
940 941
     {
Please login to merge, or discard this patch.