Completed
Push — developer ( f778f3...8830e0 )
by Błażej
51:25 queued 38:36
created
modules/Vtiger/inventoryfields/TotalPrice.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -41,6 +41,7 @@
 block discarded – undo
41 41
 
42 42
 	/**
43 43
 	 * {@inheritdoc}
44
+	 * @param string $columnName
44 45
 	 */
45 46
 	public function validate($value, $columnName, $isUserFormat = false)
46 47
 	{
Please login to merge, or discard this patch.
modules/Vtiger/inventoryfields/UnitPrice.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -41,6 +41,7 @@
 block discarded – undo
41 41
 
42 42
 	/**
43 43
 	 * {@inheritdoc}
44
+	 * @param string $columnName
44 45
 	 */
45 46
 	public function validate($value, $columnName, $isUserFormat = false)
46 47
 	{
Please login to merge, or discard this patch.
modules/Vtiger/inventoryfields/Reference.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -50,6 +50,8 @@
 block discarded – undo
50 50
 
51 51
 	/**
52 52
 	 * {@inheritdoc}
53
+	 * @param integer $value
54
+	 * @param string $columnName
53 55
 	 */
54 56
 	public function validate($value, $columnName, $isUserFormat = false)
55 57
 	{
Please login to merge, or discard this patch.
modules/Vtiger/inventoryfields/TaxMode.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -50,6 +50,8 @@
 block discarded – undo
50 50
 
51 51
 	/**
52 52
 	 * {@inheritdoc}
53
+	 * @param integer $value
54
+	 * @param string $columnName
53 55
 	 */
54 56
 	public function validate($value, $columnName, $isUserFormat = false)
55 57
 	{
Please login to merge, or discard this patch.
install/models/InitSchema.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -45,6 +45,9 @@  discard block
 block discarded – undo
45 45
 		\App\Cache::clearOpcache();
46 46
 	}
47 47
 
48
+	/**
49
+	 * @param string $location
50
+	 */
48 51
 	public function initializeDatabase($location, $filesName = [])
49 52
 	{
50 53
 		try {
@@ -113,6 +116,9 @@  discard block
 block discarded – undo
113 116
 		\App\UserPrivilegesFile::createUserPrivilegesfile(1);
114 117
 	}
115 118
 
119
+	/**
120
+	 * @param string $query
121
+	 */
116 122
 	public function splitQueries($query)
117 123
 	{
118 124
 		$buffer = [];
Please login to merge, or discard this patch.
modules/Project/models/Gantt.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
 	private function findOutStartDates(&$node)
280 280
 	{
281 281
 		$maxTimeStampValue = 2147483647;
282
-		$firstDate = $this->iterateNodes($node, $maxTimeStampValue, function (&$child, $firstDate) {
282
+		$firstDate = $this->iterateNodes($node, $maxTimeStampValue, function(&$child, $firstDate) {
283 283
 			if (!empty($child['start_date']) && $child['start_date'] !== '1970-01-01') {
284 284
 				$taskStartDate = strtotime($child['start_date']);
285 285
 				if ($taskStartDate < $firstDate && $taskStartDate > 0) {
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
 			$node['start'] = $firstDate * 1000;
298 298
 		}
299 299
 		// iterate one more time setting up empty dates
300
-		$this->iterateNodes($node, $firstDate, function (&$child, $firstDate) {
300
+		$this->iterateNodes($node, $firstDate, function(&$child, $firstDate) {
301 301
 			if (empty($child['start_date']) || $child['start_date'] === '1970-01-01') {
302 302
 				$child['start_date'] = date('Y-m-d', $firstDate);
303 303
 				$child['start'] = $firstDate * 1000;
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
 	 */
317 317
 	private function findOutEndDates(&$node)
318 318
 	{
319
-		$lastDate = $this->iterateNodes($node, 0, function (&$child, $lastDate) {
319
+		$lastDate = $this->iterateNodes($node, 0, function(&$child, $lastDate) {
320 320
 			if (!empty($child['start_date']) && $child['start_date'] !== '1970-01-01') {
321 321
 				$taskDate = strtotime($child['end_date']);
322 322
 				if ($taskDate > $lastDate) {
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
 			$node['end'] = $lastDate * 1000;
334 334
 		}
335 335
 		// iterate one more time setting up empty dates
336
-		$this->iterateNodes($node, $lastDate, function (&$child, $lastDate) {
336
+		$this->iterateNodes($node, $lastDate, function(&$child, $lastDate) {
337 337
 			if (empty($child['end_date'])) {
338 338
 				$child['end_date'] = date('Y-m-d', $lastDate);
339 339
 				$child['end'] = $lastDate * 1000;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -548,7 +548,7 @@
 block discarded – undo
548 548
 	/**
549 549
 	 * Get project data to display in view as gantt.
550 550
 	 *
551
-	 * @param int|string $id
551
+	 * @param integer $id
552 552
 	 *
553 553
 	 * @return array - projects,milestones,tasks
554 554
 	 */
Please login to merge, or discard this patch.
modules/Users/actions/Login.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
 	 *
107 107
 	 * @param \App\Request $request
108 108
 	 *
109
-	 * @return bool
109
+	 * @return boolean|null
110 110
 	 */
111 111
 	public function login(\App\Request $request)
112 112
 	{
Please login to merge, or discard this patch.
modules/Notification/views/NotificationConfig.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 	 *
61 61
 	 * @param \App\Request $request
62 62
 	 *
63
-	 * @return array - List of Vtiger_JsScript_Model instances
63
+	 * @return App\Controller\Vtiger_JsScript_Model[] - List of Vtiger_JsScript_Model instances
64 64
 	 */
65 65
 	public function getModalScripts(\App\Request $request)
66 66
 	{
Please login to merge, or discard this patch.
app/Version.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 	 * @param string $v2
61 61
 	 * @param string $operator
62 62
 	 *
63
-	 * @return mixed
63
+	 * @return boolean
64 64
 	 */
65 65
 	public static function compare($v1, $v2, $operator = '==')
66 66
 	{
Please login to merge, or discard this patch.