Completed
Push — master ( 1fd401 )
by Pavel
09:48
created
src/Column/ColumnStatus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 
49 49
 		$this->key = $key;
50 50
 
51
-		$this->setTemplate(__DIR__ . '/../templates/column_status.latte');
51
+		$this->setTemplate(__DIR__.'/../templates/column_status.latte');
52 52
 	}
53 53
 
54 54
 
Please login to merge, or discard this patch.
src/Row.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@
 block discarded – undo
219 219
 	/**
220 220
 	 * @param  string        $key
221 221
 	 * @param  Column\Column $column
222
-	 * @return void
222
+	 * @return Column\Column
223 223
 	 */
224 224
 	public function applyColumnCallback($key, Column\Column $column)
225 225
 	{
Please login to merge, or discard this patch.
src/Column/ColumnLink.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
 		$element = $a;
109 109
 
110 110
 		if ($this->icon) {
111
-			$a->addHtml(Html::el('span')->class(DataGrid::$icon_prefix . $this->icon));
111
+			$a->addHtml(Html::el('span')->class(DataGrid::$icon_prefix.$this->icon));
112 112
 
113 113
 			if (strlen($value)) {
114 114
 				$a->addHtml(' ');
Please login to merge, or discard this patch.
src/Column/Column.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -469,7 +469,7 @@
 block discarded – undo
469 469
 
470 470
 
471 471
 	/**
472
-	 * @return bool
472
+	 * @return boolean|null
473 473
 	 */
474 474
 	public function hasSortNext()
475 475
 	{
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use Ublaboo;
13 13
 use Ublaboo\DataGrid\DataGrid;
14 14
 use Ublaboo\DataGrid\Exception\DataGridColumnRendererException;
15
-use Ublaboo\DataGrid\Exception\DataGridException;
16 15
 use Ublaboo\DataGrid\Row;
17 16
 use Ublaboo\DataGrid\Traits;
18 17
 
Please login to merge, or discard this patch.
src/Filter/Filter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
 
93 93
 	/**
94 94
 	 * Get filter key
95
-	 * @return mixed
95
+	 * @return string
96 96
 	 */
97 97
 	public function getKey()
98 98
 	{
Please login to merge, or discard this patch.
src/Column/MultiAction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 		$this->grid = $grid;
49 49
 		$this->name = $name;
50 50
 
51
-		$this->setTemplate(__DIR__ . '/../templates/column_multi_action.latte');
51
+		$this->setTemplate(__DIR__.'/../templates/column_multi_action.latte');
52 52
 	}
53 53
 
54 54
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 		}
80 80
 
81 81
 		if ($this->getClass()) {
82
-			$button->class($this->getClass() . ' dropdown-toggle');
82
+			$button->class($this->getClass().' dropdown-toggle');
83 83
 		}
84 84
 
85 85
 		return $button;
Please login to merge, or discard this patch.
src/Filter/FilterMultiSelect.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 	{
40 40
 		parent::__construct($grid, $key, $name, $options, $column);
41 41
 
42
-		$this->addAttribute('data-selected-icon-check', DataGrid::$icon_prefix . 'check');
42
+		$this->addAttribute('data-selected-icon-check', DataGrid::$icon_prefix.'check');
43 43
 	}
44 44
 
45 45
 
Please login to merge, or discard this patch.
src/DataSource/DibiFluentDataSource.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 
37 37
 
38 38
 	/**
39
-	 * @param DibiFluent $data_source
39
+	 * @param Dibi\Fluent $data_source
40 40
 	 * @param string $primary_key
41 41
 	 */
42 42
 	public function __construct(DibiFluent $data_source, $primary_key)
Please login to merge, or discard this patch.
src/DataSource/DoctrineDataSource.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -335,7 +335,7 @@
 block discarded – undo
335 335
 
336 336
 	/**
337 337
 	 * Get unique int value for each instance class (self)
338
-	 * @return int
338
+	 * @return string
339 339
 	 */
340 340
 	public function getPlaceholder()
341 341
 	{
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 			$this->root_alias = current($this->root_alias);
86 86
 		}
87 87
 
88
-		return $this->root_alias . '.' . $column;
88
+		return $this->root_alias.'.'.$column;
89 89
 	}
90 90
 
91 91
 
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
 		$p = $this->getPlaceholder();
280 280
 
281 281
 		$values = $filter->getCondition()[$filter->getColumn()];
282
-		$expr = $this->data_source->expr()->in($c, ':' . $p);
282
+		$expr = $this->data_source->expr()->in($c, ':'.$p);
283 283
 
284 284
 		$this->data_source->andWhere($expr)->setParameter($p, $values);
285 285
 	}
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
 	 */
359 359
 	public function getPlaceholder()
360 360
 	{
361
-		return 'param' . ($this->placeholder++);
361
+		return 'param'.($this->placeholder++);
362 362
 	}
363 363
 
364 364
 
Please login to merge, or discard this patch.