Completed
Push — 5.1 ( 692532...8bf300 )
by Rémi
03:43
created
src/helpers.php 3 patches
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@  discard block
 block discarded – undo
7 7
     /**
8 8
      * Return analogue's manager instance
9 9
      *
10
-     * @param  array  $array
11
-     * @return array
10
+     * @return Manager
12 11
      */
13 12
     function analogue()
14 13
     {
@@ -24,7 +23,7 @@  discard block
 block discarded – undo
24 23
      * 
25 24
      * @param \Analogue\ORM\Mappable|string $entity
26 25
      * @param mixed $entityMap 
27
-     * @return Mapper
26
+     * @return Analogue\ORM\System\Mapper
28 27
      */
29 28
     function mapper($entity, $entityMap = null)
30 29
     {
Please login to merge, or discard this patch.
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -4,30 +4,30 @@
 block discarded – undo
4 4
 
5 5
 if (! function_exists('analogue')) {
6 6
 
7
-    /**
8
-     * Return analogue's manager instance
9
-     *
10
-     * @param  array  $array
11
-     * @return array
12
-     */
13
-    function analogue()
14
-    {
15
-        return Manager::getInstance();
16
-    }
7
+	/**
8
+	 * Return analogue's manager instance
9
+	 *
10
+	 * @param  array  $array
11
+	 * @return array
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
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 use Analogue\ORM\System\Manager;
4 4
 
5
-if (! function_exists('analogue')) {
5
+if (!function_exists('analogue')) {
6 6
 
7 7
     /**
8 8
      * 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)
Please login to merge, or discard this patch.