Completed
Push — master ( f8266c...cf2a16 )
by smiley
01:58
created
examples/oauth-example-common.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -59,18 +59,18 @@  discard block
 block discarded – undo
59 59
 ];
60 60
 
61 61
 /** @var \chillerlan\Traits\ContainerInterface $options */
62
-$options = new class($options_arr) extends OAuthOptions{
62
+$options = new class($options_arr) extends OAuthOptions {
63 63
 	use DatabaseOptionsTrait, LogOptionsTrait;
64 64
 };
65 65
 
66 66
 /** @var \Psr\Log\LoggerInterface $logger */
67 67
 $logger = (new Log)->addInstance(
68
-	new class ($options) extends LogOutputAbstract{
68
+	new class ($options) extends LogOutputAbstract {
69 69
 
70 70
 		protected function __log(string $level, string $message, array $context = null):void{
71 71
 			echo $message.PHP_EOL;
72 72
 
73
-			if(!empty($context)){
73
+			if (!empty($context)) {
74 74
 				echo print_r($context, true).PHP_EOL;
75 75
 			}
76 76
 		}
@@ -80,12 +80,12 @@  discard block
 block discarded – undo
80 80
 );
81 81
 
82 82
 /** @var \chillerlan\HTTP\HTTPClientInterface $http */
83
-$http = new class($options) extends HTTPClientAbstract{
83
+$http = new class($options) extends HTTPClientAbstract {
84 84
 	use LogTrait;
85 85
 
86 86
 	protected $client;
87 87
 
88
-	public function __construct(ContainerInterface $options){
88
+	public function __construct(ContainerInterface $options) {
89 89
 		parent::__construct($options);
90 90
 		$this->client = new TinyCurlClient($this->options, new Request($this->options));
91 91
 	}
Please login to merge, or discard this patch.