GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — develop ( 5a088d...109ba3 )
by Lonnie
03:16 queued 01:19
created
src/Bay.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
 	//--------------------------------------------------------------------
25 25
 
26
-	public function __construct(LibraryFinderInterface $finder=null, CacheInterface $cache=null)
26
+	public function __construct(LibraryFinderInterface $finder = null, CacheInterface $cache = null)
27 27
 	{
28 28
 		if (is_object($finder))
29 29
 		{
@@ -50,14 +50,14 @@  discard block
 block discarded – undo
50 50
 	 *
51 51
 	 * @return null|string
52 52
 	 */
53
-	public function display($library, $params=null, $cache_name=null, $cache_ttl=0)
53
+	public function display($library, $params = null, $cache_name = null, $cache_ttl = 0)
54 54
 	{
55 55
 		list($class, $method) = $this->determineClass($library);
56 56
 
57 57
 		// Is it cached?
58
-		$cache_name = ! empty($cache_name) ? $cache_name : $class . $method . md5(serialize($params));
58
+		$cache_name = !empty($cache_name) ? $cache_name : $class.$method.md5(serialize($params));
59 59
 
60
-		if (! empty($this->cache) && $output = $this->cache->get($cache_name))
60
+		if (!empty($this->cache) && $output = $this->cache->get($cache_name))
61 61
 		{
62 62
 			return $output;
63 63
 		}
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 
73 73
 		if ($this->isStaticMethod($instance, $method))
74 74
 		{
75
-			$output = $instance::{$method}( $this->prepareParams($params) );
75
+			$output = $instance::{$method}($this->prepareParams($params));
76 76
 		}
77 77
 		else
78 78
 		{
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 		}
81 81
 
82 82
 		// Can we cache it?
83
-		if (! empty($this->cache) && $cache_ttl !== 0)
83
+		if (!empty($this->cache) && $cache_ttl !== 0)
84 84
 		{
85 85
 			$this->cache->set($cache_name, $output, $cache_ttl);
86 86
 		}
Please login to merge, or discard this patch.