friendship ended with social-app. php is my new best friend
at main 497 B view raw
1<?php declare(strict_types = 1); 2 3namespace Contributte\Logging\Exceptions\Runtime\Logger; 4 5use Contributte\Logging\Exceptions\RuntimeException; 6 7final class SlackBadRequestException extends RuntimeException 8{ 9 10 /** @var mixed[] */ 11 private $request; 12 13 /** 14 * @param mixed[] $request 15 */ 16 public function __construct(array $request) 17 { 18 parent::__construct(); 19 $this->request = $request; 20 } 21 22 /** 23 * @return mixed[] 24 */ 25 public function getRequest(): array 26 { 27 return $this->request; 28 } 29 30}