Passed
Push — master ( d4025b...466d92 )
by smiley
02:01
created
examples/oauth-example-common.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -59,19 +59,19 @@  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
 $logger = new Log;
67 67
 
68 68
 $logger->addInstance(
69
-	new class ($options) extends LogOutputAbstract{
69
+	new class ($options) extends LogOutputAbstract {
70 70
 
71 71
 		protected function __log(string $level, string $message, array $context = null):void{
72 72
 			echo $message.PHP_EOL;
73 73
 
74
-			if(!empty($context)){
74
+			if (!empty($context)) {
75 75
 				echo print_r($context, true).PHP_EOL;
76 76
 			}
77 77
 		}
@@ -81,11 +81,11 @@  discard block
 block discarded – undo
81 81
 );
82 82
 
83 83
 /** @var \chillerlan\HTTP\HTTPClientInterface $http */
84
-$http = new class($options) extends HTTPClientAbstract{
84
+$http = new class($options) extends HTTPClientAbstract {
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.
src/Storage/TokenStorageInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
  * @property \Psr\Log\LoggerInterface $logger
20 20
  * @method setLogger(\Psr\Log\LoggerInterface $logger)
21 21
  */
22
-interface TokenStorageInterface{
22
+interface TokenStorageInterface {
23 23
 
24 24
 	/**
25 25
 	 * @param string                  $service
Please login to merge, or discard this patch.
src/Providers/OAuthInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
  * from \chillerlan\Traits\Classloader
27 27
  * @method mixed loadClass(string $class, string $type = null, ...$params)
28 28
  */
29
-interface OAuthInterface{
29
+interface OAuthInterface {
30 30
 
31 31
 	/**
32 32
 	 * @param array $params
Please login to merge, or discard this patch.