This repository was archived by the owner on Oct 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +52
-8
lines changed Expand file tree Collapse file tree 9 files changed +52
-8
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,11 @@ public function setLocale($locale)
1616 return $ this ;
1717 }
1818
19+ /**
20+ * @return array
21+ */
22+ abstract public function toArray ();
23+
1924 /**
2025 * @return array
2126 */
Original file line number Diff line number Diff line change 1010
1111/**
1212 * @package Commercetools\Core\Request
13- * @method $this addParamObject(ParameterInterface $param)
1413 */
1514trait CustomerIdTrait
1615{
16+ /**
17+ * @param ParameterInterface $param
18+ * @return $this
19+ */
20+ abstract public function addParamObject (ParameterInterface $ param );
21+
1722 public function byCustomerId ($ customerId )
1823 {
1924 if (!is_null ($ customerId )) {
Original file line number Diff line number Diff line change 1010
1111/**
1212 * @package Commercetools\Core\Request
13- * @method $this addParamObject(ParameterInterface $param)
1413 */
1514trait ExpandTrait
1615{
16+ /**
17+ * @param ParameterInterface $param
18+ * @return $this
19+ */
20+ abstract public function addParamObject (ParameterInterface $ param );
21+
1722 /**
1823 * @param $fieldReference
1924 * @return $this
Original file line number Diff line number Diff line change 1111
1212/**
1313 * @package Commercetools\Core\Request
14- * @method $this addParamObject(ParameterInterface $param)
1514 */
1615trait PageTrait
1716{
17+ /**
18+ * @param ParameterInterface $param
19+ * @return $this
20+ */
21+ abstract public function addParamObject (ParameterInterface $ param );
22+
1823 /**
1924 * @param int $limit
2025 * @return $this
Original file line number Diff line number Diff line change 1111use Commercetools \Core \Request \Query \ParameterInterface ;
1212
1313/**
14- * @method $this addParamObject(ParameterInterface $param)
1514 */
1615trait PriceSelectTrait
1716{
17+ /**
18+ * @param ParameterInterface $param
19+ * @return $this
20+ */
21+ abstract public function addParamObject (ParameterInterface $ param );
1822
1923 protected function select ($ key , $ value )
2024 {
Original file line number Diff line number Diff line change 1111
1212/**
1313 * @package Commercetools\Core\Request
14- * @method $this addParamObject(ParameterInterface $param)
1514 */
1615trait QueryTrait
1716{
17+ /**
18+ * @param ParameterInterface $param
19+ * @return $this
20+ */
21+ abstract public function addParamObject (ParameterInterface $ param );
22+
1823 /**
1924 * @param string $where
2025 * @return $this
Original file line number Diff line number Diff line change 1111
1212/**
1313 * @package Commercetools\Core\Request
14- * @method $this addParamObject(ParameterInterface $param)
1514 */
1615trait SortTrait
1716{
17+ /**
18+ * @param ParameterInterface $param
19+ * @return $this
20+ */
21+ abstract public function addParamObject (ParameterInterface $ param );
22+
1823 /**
1924 * @param string $sort
2025 * @return $this
Original file line number Diff line number Diff line change 1111
1212/**
1313 * @package Commercetools\Core\Request
14- * @method $this addParamObject(ParameterInterface $param)
1514 */
1615trait StagedTrait
1716{
17+ /**
18+ * @param ParameterInterface $param
19+ * @return $this
20+ */
21+ abstract public function addParamObject (ParameterInterface $ param );
22+
1823 /**
1924 * @param bool $staged
2025 * @return $this
Original file line number Diff line number Diff line change 1010
1111/**
1212 * @package Commercetools\Core\Request
13- * @method $this addParamObject(ParameterInterface $param)
1413 */
1514trait WithTotalTrait
1615{
16+ /**
17+ * @param ParameterInterface $param
18+ * @return $this
19+ */
20+ abstract public function addParamObject (ParameterInterface $ param );
21+
1722 /**
1823 * @param bool $withTotal
1924 * @return $this
You can’t perform that action at this time.
0 commit comments