Completed
Push — master ( 030e6a...337188 )
by Chris
05:30 queued 03:03
created
src/Darya/Service/Container.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
 		
194 194
 		$container = $this;
195 195
 		
196
-		return function () use ($callable, $container) {
196
+		return function() use ($callable, $container) {
197 197
 			static $instance;
198 198
 			
199 199
 			if ($instance === null) {
Please login to merge, or discard this patch.
src/Darya/Storage/InMemory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
171 171
 		$this->data[$resource] = $this->filterer->map(
172 172
 			$this->data[$resource],
173 173
 			$filter,
174
-			function ($row) use ($data, &$affected) {
174
+			function($row) use ($data, &$affected) {
175 175
 				foreach ($data as $key => $value) {
176 176
 					$row[$key] = $value;
177 177
 				}
Please login to merge, or discard this patch.
src/Darya/ORM/Relation/HasMany.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 	 * Retrieves the related models without matching them to their parents.
18 18
 	 * 
19 19
 	 * @param array $instances
20
-	 * @return array
20
+	 * @return Record[]
21 21
 	 */
22 22
 	public function eagerLoad(array $instances)
23 23
 	{
Please login to merge, or discard this patch.
src/Darya/Foundation/Providers/ConfigurationService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 	public function register(Container $container)
25 25
 	{
26 26
 		$container->register(array(
27
-			'Darya\Foundation\Configuration' => function (Application $application) {
27
+			'Darya\Foundation\Configuration' => function(Application $application) {
28 28
 				$basePath = $application->basePath();
29 29
 				
30 30
 				// Load the application's configuration
Please login to merge, or discard this patch.
src/Darya/Database/Storage/Query/Join.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 	 * Instantiate a new join.
54 54
 	 * 
55 55
 	 * @param string $type
56
-	 * @param string $to
56
+	 * @param string $resource
57 57
 	 */
58 58
 	public function __construct($type, $resource)
59 59
 	{
Please login to merge, or discard this patch.
autoloader.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 // Composer's autoloader
3
-if (is_file(__DIR__ . '/../../autoload.php')) {
4
-	include __DIR__ . '/../../autoload.php';
3
+if (is_file(__DIR__.'/../../autoload.php')) {
4
+	include __DIR__.'/../../autoload.php';
5 5
 }
6 6
 
7 7
 // Darya's autoloader
8
-include __DIR__ . '/src/Darya/Foundation/Autoloader.php';
8
+include __DIR__.'/src/Darya/Foundation/Autoloader.php';
9 9
 
10 10
 use Darya\Foundation\Autoloader;
11 11
 
12 12
 // Base path wherever it's included from, absolute path to the framework
13 13
 $autoloader = new Autoloader(realpath('./'), array(
14
-	'Darya' => realpath(__DIR__ . '/src')
14
+	'Darya' => realpath(__DIR__.'/src')
15 15
 ));
16 16
 
17 17
 $autoloader->register();
Please login to merge, or discard this patch.
src/Darya/Http/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@
 block discarded – undo
174 174
 		$data['server']['request_method'] = strtoupper($method);
175 175
 		
176 176
 		if ($components['query']) {
177
-			$data['server']['request_uri'] .= '?' . $components['query'];
177
+			$data['server']['request_uri'] .= '?'.$components['query'];
178 178
 		}
179 179
 		
180 180
 		$request = new Request(
Please login to merge, or discard this patch.
src/Darya/Database/Connection/SqlServer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 		$host = $this->details['host'];
28 28
 		
29 29
 		if ($this->details['port']) {
30
-			$host .= ', ' . $this->details['port'];
30
+			$host .= ', '.$this->details['port'];
31 31
 		}
32 32
 		
33 33
 		$this->connection = sqlsrv_connect($this->details['host'], array(
Please login to merge, or discard this patch.
src/Darya/Service/Facade.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 		}
56 56
 		
57 57
 		if (!method_exists($instance, $method)) {
58
-			throw new RuntimeException('Call to non-existent method "' . $method . '" on facade instance');
58
+			throw new RuntimeException('Call to non-existent method "'.$method.'" on facade instance');
59 59
 		}
60 60
 		
61 61
 		return static::$serviceContainer->call(array($instance, $method), $parameters);
Please login to merge, or discard this patch.