Completed
Pull Request — master (#81)
by Petr
04:37 queued 01:54
created
src/DataSource/DoctrineDataSource.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 
53 53
 	/**
54 54
 	 * @return Doctrine\ORM\Query
55
-	*/
55
+	 */
56 56
 	public function getQuery()
57 57
 	{
58 58
 		return $this->data_source->getQuery();
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 block discarded – undo
9 9
 
10 10
 namespace Ublaboo\DataGrid\DataSource;
11 11
 
12
-use Doctrine\ORM\QueryBuilder,
13
-	Ublaboo\DataGrid\Filter,
14
-	Nette\Utils\Callback,
15
-	Doctrine;
12
+use Doctrine\ORM\QueryBuilder;
13
+use Ublaboo\DataGrid\Filter;
14
+use Nette\Utils\Callback;
15
+use Doctrine;
16 16
 
17 17
 class DoctrineDataSource implements IDataSource
18 18
 {
Please login to merge, or discard this patch.
src/DataGrid.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -492,7 +492,7 @@  discard block
 block discarded – undo
492 492
 
493 493
 	/**
494 494
 	 * Set sortable handle
495
-	 * @param string $handle
495
+	 * @param string $handler
496 496
 	 */
497 497
 	public function setSortableHandler($handler = 'sort!')
498 498
 	{
@@ -1768,7 +1768,7 @@  discard block
 block discarded – undo
1768 1768
 	/**
1769 1769
 	 * Items can have thair detail - toggled
1770 1770
 	 * @param mixed $detail callable|string|bool
1771
-	 * @return Column\ItemDetail[]
1771
+	 * @return Column\ItemDetail
1772 1772
 	 */
1773 1773
 	public function setItemsDetail($detail = TRUE, $primary_where_column = NULL)
1774 1774
 	{
@@ -1828,6 +1828,9 @@  discard block
 block discarded – undo
1828 1828
 	}
1829 1829
 
1830 1830
 
1831
+	/**
1832
+	 * @param string $name
1833
+	 */
1831 1834
 	public function getRowCondition($name, $key = NULL)
1832 1835
 	{
1833 1836
 		if (!isset($this->row_conditions[$name])) {
@@ -1861,7 +1864,6 @@  discard block
 block discarded – undo
1861 1864
 
1862 1865
 	/**
1863 1866
 	 * Order Grid to set columns hideable.
1864
-	 * @param bool $do
1865 1867
 	 * @return static
1866 1868
 	 */
1867 1869
 	public function setColumnsHideable()
Please login to merge, or discard this patch.