Completed
Pull Request — 5.1 (#144)
by
unknown
04:21
created
src/helpers.php 2 patches
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -5,44 +5,44 @@
 block discarded – undo
5 5
 
6 6
 if (! function_exists('analogue')) {
7 7
 
8
-    /**
9
-     * Return analogue's manager instance
10
-     * 
11
-     * @return \Analogue\ORM\System\Manager
12
-     */
13
-    function analogue()
14
-    {
15
-        return Manager::getInstance();
16
-    }
8
+	/**
9
+	 * Return analogue's manager instance
10
+	 * 
11
+	 * @return \Analogue\ORM\System\Manager
12
+	 */
13
+	function analogue()
14
+	{
15
+		return Manager::getInstance();
16
+	}
17 17
 }
18 18
 
19 19
 
20 20
 if (! function_exists('mapper')) {
21 21
 
22
-    /**
23
-     * Create a mapper for a given entity (static alias)
24
-     * 
25
-     * @param \Analogue\ORM\Mappable|string $entity
26
-     * @param mixed $entityMap 
27
-     * @return Mapper
28
-     */
29
-    function mapper($entity, $entityMap = null)
30
-    {
31
-        return Manager::getMapper($entity, $entityMap);
32
-    }
22
+	/**
23
+	 * Create a mapper for a given entity (static alias)
24
+	 * 
25
+	 * @param \Analogue\ORM\Mappable|string $entity
26
+	 * @param mixed $entityMap 
27
+	 * @return Mapper
28
+	 */
29
+	function mapper($entity, $entityMap = null)
30
+	{
31
+		return Manager::getMapper($entity, $entityMap);
32
+	}
33 33
 }
34 34
 
35 35
 
36 36
 if (! function_exists('is_asociative_array')) {
37 37
 
38
-    /**
39
-     * Checks if an array is an asociative array
40
-     * 
41
-     * @param array $array
42
-     * @return bool
43
-     */
44
-    function is_asociative_array(array $array)
45
-    {
46
-        return count(array_filter(array_keys($array), 'is_string')) > 0;
47
-    }
38
+	/**
39
+	 * Checks if an array is an asociative array
40
+	 * 
41
+	 * @param array $array
42
+	 * @return bool
43
+	 */
44
+	function is_asociative_array(array $array)
45
+	{
46
+		return count(array_filter(array_keys($array), 'is_string')) > 0;
47
+	}
48 48
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 use Analogue\ORM\System\Manager;
4 4
 use Analogue\ORM\System\Mapper;
5 5
 
6
-if (! function_exists('analogue')) {
6
+if (!function_exists('analogue')) {
7 7
 
8 8
     /**
9 9
      * Return analogue's manager instance
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 }
18 18
 
19 19
 
20
-if (! function_exists('mapper')) {
20
+if (!function_exists('mapper')) {
21 21
 
22 22
     /**
23 23
      * Create a mapper for a given entity (static alias)
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 }
34 34
 
35 35
 
36
-if (! function_exists('is_asociative_array')) {
36
+if (!function_exists('is_asociative_array')) {
37 37
 
38 38
     /**
39 39
      * Checks if an array is an asociative array
Please login to merge, or discard this patch.
src/Drivers/IlluminateQueryBuilder.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,5 +12,5 @@
 block discarded – undo
12 12
  */
13 13
 class IlluminateQueryBuilder extends Builder
14 14
 {
15
-    //
15
+	//
16 16
 }
Please login to merge, or discard this patch.
src/AnalogueFacade.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -9,13 +9,13 @@
 block discarded – undo
9 9
  */
10 10
 class AnalogueFacade extends Facade
11 11
 {
12
-    /**
13
-     * Get the registered name of the component.
14
-     *
15
-     * @return string
16
-     */
17
-    protected static function getFacadeAccessor()
18
-    {
19
-        return 'analogue';
20
-    }
12
+	/**
13
+	 * Get the registered name of the component.
14
+	 *
15
+	 * @return string
16
+	 */
17
+	protected static function getFacadeAccessor()
18
+	{
19
+		return 'analogue';
20
+	}
21 21
 }
Please login to merge, or discard this patch.