Skip to content

Commit

Permalink
Minor doc and CS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pulzarraider committed Jan 4, 2015
1 parent fd09943 commit 3fa8303
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Admin/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,7 @@ public function generateUrl($name, array $parameters = array(), $absolute = fals
*/
public function generateMenuUrl($name, array $parameters = array(), $absolute = false)
{
return $this->routeGenerator->generateMenuUrl($this, $name,$parameters, $absolute);
return $this->routeGenerator->generateMenuUrl($this, $name, $parameters, $absolute);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion Admin/AdminInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public function generateUrl($name, array $parameters = array(), $absolute = fals
* @param array $parameters
* @param bool $absolute
*
* @return string return a complete url
* @return array return url parts: 'route', 'routeParameters', 'routeAbsolute'
*/
public function generateMenuUrl($name, array $parameters = array(), $absolute = false);

Expand Down
2 changes: 1 addition & 1 deletion Controller/CRUDController.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public function render($view, array $parameters = array(), Response $response =

return parent::render($view, $parameters, $response);
}

/**
* @param \Exception $e
*
Expand Down
2 changes: 1 addition & 1 deletion Datagrid/DatagridInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function reorderFilters(array $keys);
public function getValues();

/**
* @return array
* @return \Sonata\AdminBundle\Admin\FieldDescriptionCollection
*/
public function getColumns();

Expand Down
6 changes: 0 additions & 6 deletions Tests/Admin/AdminTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1042,12 +1042,6 @@ public function testGetTemplate1()

$this->assertNull($admin->getTemplate('edit'));

$templates = array(
'list' => 'FooAdminBundle:CRUD:list.html.twig',
'show' => 'FooAdminBundle:CRUD:show.html.twig',
'edit' => 'FooAdminBundle:CRUD:edit.html.twig'
);

$admin->setTemplate('edit', 'FooAdminBundle:CRUD:edit.html.twig');
$admin->setTemplate('show', 'FooAdminBundle:CRUD:show.html.twig');

Expand Down
2 changes: 1 addition & 1 deletion Tests/Admin/PoolTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class PoolTest extends \PHPUnit_Framework_TestCase
{
/**
* @var Sonata\AdminBundle\Admin\Pool
* @var Pool
*/
private $pool = null;

Expand Down

0 comments on commit 3fa8303

Please sign in to comment.