Lines Matching refs:statusCode
85 private $statusCode; variable in GuzzleHttp\\Psr7\\Response
103 $this->statusCode = $status;
110 if ($reason == '' && isset(self::PHRASES[$this->statusCode])) {
111 $this->reasonPhrase = self::PHRASES[$this->statusCode];
121 return $this->statusCode;
136 $new->statusCode = $code;
137 if ($reasonPhrase == '' && isset(self::PHRASES[$new->statusCode])) {
138 $reasonPhrase = self::PHRASES[$new->statusCode];
146 * @param mixed $statusCode
148 private function assertStatusCodeIsInteger($statusCode): void argument
150 if (filter_var($statusCode, FILTER_VALIDATE_INT) === false) {
155 private function assertStatusCodeRange(int $statusCode): void argument
157 if ($statusCode < 100 || $statusCode >= 600) {