Completed
Push — develop ( 76527a...6d8075 )
by Nate
03:43
created
src/services/resources/traits/SyncByElementTrait.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -31,9 +31,9 @@  discard block
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * @param string $id
34
-     * @param ConnectionInterface|string|null $connection
35
-     * @param CacheInterface|string|null $cache
36
-     * @param TransformerCollectionInterface|array|null $transformer
34
+     * @param null|ConnectionInterface $connection
35
+     * @param null|CacheInterface $cache
36
+     * @param null|TransformerCollectionInterface $transformer
37 37
      * @return PipelineBuilderInterface
38 38
      */
39 39
     public abstract function rawReadPipeline(
@@ -46,9 +46,9 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * @param array $payload
48 48
      * @param string|null $identifier
49
-     * @param ConnectionInterface|string|null $connection
50
-     * @param CacheInterface|string|null $cache
51
-     * @param TransformerCollectionInterface|array|null $transformer
49
+     * @param null|ConnectionInterface $connection
50
+     * @param null|CacheInterface $cache
51
+     * @param null|TransformerCollectionInterface $transformer
52 52
      * @return PipelineBuilderInterface
53 53
      */
54 54
     public abstract function rawUpsertPipeline(
@@ -62,8 +62,8 @@  discard block
 block discarded – undo
62 62
     /**
63 63
      * @param ElementInterface $element
64 64
      * @param Objects $field
65
-     * @param ConnectionInterface|string|null $connection
66
-     * @param CacheInterface|string|null $cache
65
+     * @param null|ConnectionInterface $connection
66
+     * @param null|CacheInterface $cache
67 67
      * @return bool
68 68
      */
69 69
     public function syncDown(
@@ -95,9 +95,9 @@  discard block
 block discarded – undo
95 95
     /**
96 96
      * @param ElementInterface $element
97 97
      * @param Objects $field
98
-     * @param ConnectionInterface|string|null $connection
99
-     * @param CacheInterface|string|null $cache
100
-     * @return false|string
98
+     * @param null|ConnectionInterface $connection
99
+     * @param null|CacheInterface $cache
100
+     * @return boolean
101 101
      */
102 102
     public function syncUp(
103 103
         ElementInterface $element,
Please login to merge, or discard this patch.