Completed
Push — master ( e17801...597a61 )
by Yannick
25:55
created
require/class.Language.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 	/**
71 71
 	* Returns list of available locales
72 72
 	*
73
-	* @return array
73
+	* @return string[]
74 74
 	*/
75 75
 	public function listLocaleDir()
76 76
 	{
Please login to merge, or discard this patch.
require/class.Translation.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -58,6 +58,10 @@  discard block
 block discarded – undo
58 58
 		} else return $ident;
59 59
 	}
60 60
 
61
+	/**
62
+	 * @param string $correct_ident
63
+	 * @param string $source
64
+	 */
61 65
 	public function addOperator($ident,$correct_ident,$source) {
62 66
 		$query = "INSERT INTO translation (Operator,Operator_correct,Source) VALUES (:ident,:correct_ident,:source)";
63 67
 		$query_values = array(':ident' => $ident,':correct_ident' => $correct_ident, ':source' => $source);
@@ -69,6 +73,10 @@  discard block
 block discarded – undo
69 73
 		}
70 74
 	}
71 75
 
76
+	/**
77
+	 * @param string $correct_ident
78
+	 * @param string $source
79
+	 */
72 80
 	public function updateOperator($ident,$correct_ident,$source) {
73 81
 		$query = "UPDATE translation SET Operator_correct = :correct_ident,Source = :source WHERE Operator = :ident";
74 82
 		$query_values = array(':ident' => $ident,':correct_ident' => $correct_ident, ':source' => $source);
Please login to merge, or discard this patch.