@@ -11,7 +11,7 @@ class Acceptance extends \Codeception\Module {
1111 * @param string $session_header
1212 * @return array
1313 */
14- public function addToCart ( array $ input , $ session_header = null ) {
14+ public function addToCart ( $ input , $ session_header = null ) {
1515 // Add to cart mutation
1616 $ mutation = '
1717 mutation ( $input: AddToCartInput! ) {
@@ -49,7 +49,7 @@ public function addToCart( array $input, $session_header = null ) {
4949 * @param string $session_header
5050 * @return array
5151 */
52- public function updateQuantity ( array $ input , $ session_header = null ) {
52+ public function updateQuantity ( $ input , $ session_header = null ) {
5353 // Update cart items mutation
5454 $ mutation = '
5555 mutation updateItemQuantities( $input: UpdateItemQuantitiesInput! ) {
@@ -85,7 +85,7 @@ public function updateQuantity( array $input, $session_header = null ) {
8585 * @param string $session_header
8686 * @return array
8787 */
88- public function removeFromCart ( array $ input , $ session_header = null ) {
88+ public function removeFromCart ( $ input , $ session_header = null ) {
8989 // Remove item from cart mutation
9090 $ mutation = '
9191 mutation ( $input: RemoveItemsFromCartInput! ) {
@@ -124,7 +124,7 @@ public function removeFromCart( array $input, $session_header = null ) {
124124 *
125125 * @return array
126126 */
127- public function checkout ( array $ input , $ session_header = null ) {
127+ public function checkout ( $ input , $ session_header = null ) {
128128 // Checkout mutation.
129129 $ mutation = '
130130 mutation checkout( $input: CheckoutInput! ) {
@@ -292,7 +292,7 @@ public function checkout( array $input, $session_header = null ) {
292292 *
293293 * @return array
294294 */
295- public function executeQuery ( string $ mutation , array $ input , $ session_header = null , $ update_header = false ) {
295+ public function executeQuery ( $ mutation , $ input , $ session_header = null , $ update_header = false ) {
296296 $ rest = $ this ->getModule ( 'REST ' );
297297
298298 // Add item to cart.
0 commit comments