Permalink
Browse files

Small cleanups

  • Loading branch information...
flack committed Jan 7, 2019
1 parent db559fe commit d7f18ef5509529223636bd5f83916f6643e4c35b
@@ -100,7 +100,7 @@ public function article_qb_constraints($qb)
}
/**
* @param midgard_query_builder $qb
* @param midcom_core_querybuilder $qb
* @param string $category
*/
public function apply_category_constraint($qb, $category)
@@ -162,7 +162,7 @@ public function _show_link($handler_id, array &$data)
* and handles the logging mentioned above as well.
*
* @param Request $request The request object
* @param string $guid The token
* @param string $token The token
* @param string $url The URL
*/
public function _handler_redirect(Request $request, $token, $url = null)
@@ -87,7 +87,7 @@ public static function find_links_object_component(midcom_core_dbaobject $object
*
* Tries to be smart about the direction (inbound vs outbound) properties
*/
public static function defaults_helper($link, $defaults, $component = false, $obj = false)
public static function defaults_helper(org_openpsa_relatedto_dba $link, $defaults, $component = false, $obj = false)
{
$properties = ['fromClass', 'toClass', 'fromGuid', 'toGuid', 'fromComponent', 'toComponent', 'status', 'toExtra', 'toExtra'];
foreach ($properties as $property) {

0 comments on commit d7f18ef

Please sign in to comment.