Completed
Push — master ( 425ada...d44d5c )
by Jean-Christophe
02:03
created
micro/orm/DAO.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@  discard block
 block discarded – undo
47 47
 		self::$objects[self::getInstanceIdInObjects($instance)]=$instance;
48 48
 	}
49 49
 
50
+	/**
51
+	 * @param string $className
52
+	 */
50 53
 	private static function getInstanceInObjects($className,$keyValue){
51 54
 		$objects=self::getObjects();
52 55
 		$condition=self::getCondition($keyValue);
@@ -131,7 +134,7 @@  discard block
 block discarded – undo
131 134
 	/**
132 135
 	 * @param object $instance
133 136
 	 * @param ManyToManyParser $parser
134
-	 * @return PDOStatement
137
+	 * @return \PDOStatement
135 138
 	 */
136 139
 	private static function getSQLForJoinTable($instance,ManyToManyParser $parser){
137 140
 		$accessor="get".ucfirst($parser->getPk());
Please login to merge, or discard this patch.
micro/utils/StrUtils.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -8,10 +8,17 @@
 block discarded – undo
8 8
  * @package utils
9 9
  */
10 10
 class StrUtils {
11
+
12
+	/**
13
+	 * @param string $needle
14
+	 */
11 15
 	public static function startswith($hay, $needle) {
12 16
 		return substr($hay, 0, strlen($needle)) === $needle;
13 17
 	}
14 18
 
19
+	/**
20
+	 * @param string $needle
21
+	 */
15 22
 	public static function endswith($hay, $needle) {
16 23
 		return substr($hay, -strlen($needle)) === $needle;
17 24
 	}
Please login to merge, or discard this patch.