@@ -251,7 +251,7 @@ |
||
251 | 251 | ] |
252 | 252 | ); |
253 | 253 | |
254 | - if(!is_null($qtyInCart)) { |
|
254 | + if (!is_null($qtyInCart)) { |
|
255 | 255 | |
256 | 256 | return [ |
257 | 257 | 'qtyInCart' => $qtyInCart, |
@@ -126,14 +126,14 @@ |
||
126 | 126 | setcookie($this->sessionName, '', 0, ini_get('session.cookie_path'), ini_get('session.cookie_domain'), filter_var(ini_get('session.cookie_secure'), FILTER_VALIDATE_BOOLEAN), filter_var(ini_get('session.cookie_httponly'), FILTER_VALIDATE_BOOLEAN)); |
127 | 127 | } else { |
128 | 128 | setcookie($this->sessionName, '', |
129 | - [ |
|
130 | - 'expires' => 0, |
|
131 | - 'path' => $this->getCookiePath(), |
|
132 | - 'domain' => ini_get('session.cookie_domain'), |
|
133 | - 'secure' => filter_var(ini_get('session.cookie_secure'), FILTER_VALIDATE_BOOLEAN), |
|
134 | - 'httponly' => filter_var(ini_get('session.cookie_httponly'), FILTER_VALIDATE_BOOLEAN), |
|
135 | - 'samesite' => $this->getCookieSameSite(), |
|
136 | - ] |
|
129 | + [ |
|
130 | + 'expires' => 0, |
|
131 | + 'path' => $this->getCookiePath(), |
|
132 | + 'domain' => ini_get('session.cookie_domain'), |
|
133 | + 'secure' => filter_var(ini_get('session.cookie_secure'), FILTER_VALIDATE_BOOLEAN), |
|
134 | + 'httponly' => filter_var(ini_get('session.cookie_httponly'), FILTER_VALIDATE_BOOLEAN), |
|
135 | + 'samesite' => $this->getCookieSameSite(), |
|
136 | + ] |
|
137 | 137 | ); |
138 | 138 | } |
139 | 139 | } |
@@ -436,6 +436,9 @@ discard block |
||
436 | 436 | $fs->remove($dir); |
437 | 437 | } |
438 | 438 | |
439 | + /** |
|
440 | + * @param string $fileName |
|
441 | + */ |
|
439 | 442 | private function publishPlugin($fileName) |
440 | 443 | { |
441 | 444 | copy(codecept_data_dir().'/'.'plugins/'.$fileName, codecept_root_dir().'/repos/'.$fileName); |
@@ -582,6 +585,9 @@ discard block |
||
582 | 585 | /** @var Store_Plugin */ |
583 | 586 | protected $dependency; |
584 | 587 | |
588 | + /** |
|
589 | + * @param string $code |
|
590 | + */ |
|
585 | 591 | public function __construct(AcceptanceTester $I, $code, Store_Plugin $dependency = null) |
586 | 592 | { |
587 | 593 | parent::__construct($I); |
@@ -714,6 +720,9 @@ discard block |
||
714 | 720 | return $this; |
715 | 721 | } |
716 | 722 | |
723 | + /** |
|
724 | + * @param string $fileName |
|
725 | + */ |
|
717 | 726 | protected function publishPlugin($fileName) |
718 | 727 | { |
719 | 728 | $published = copy(codecept_data_dir().'/'.'plugins/'.$fileName, codecept_root_dir().'/repos/'.$fileName); |
@@ -732,6 +741,9 @@ discard block |
||
732 | 741 | /** @var string */ |
733 | 742 | private $code; |
734 | 743 | |
744 | + /** |
|
745 | + * @param string $code |
|
746 | + */ |
|
735 | 747 | public function __construct(AcceptanceTester $I, $code) |
736 | 748 | { |
737 | 749 | parent::__construct($I); |
@@ -194,7 +194,7 @@ |
||
194 | 194 | /** |
195 | 195 | * 指定された複数ディレクトリのうち、いずれかのディレクトリ以下にファイルが存在するかを確認。 |
196 | 196 | * |
197 | - * @param $form FormInterface |
|
197 | + * @param FormInterface $form FormInterface |
|
198 | 198 | * @param $dirs array |
199 | 199 | */ |
200 | 200 | private function validateFilePath($form, $dirs) |