Skip to content

Commit

Permalink
Qualify services against namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekCrannaford committed Nov 7, 2023
1 parent fcd35a3 commit f7b5a29
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<?php

// namespace System\Modules\Favorite;
namespace System\Modules\Favorite;

function display_favorites(\Web $w)
{
$results = FavoriteService::getInstance($w)->getFavoritesForUser(AuthService::getInstance($w)->user()->id);
$results = \FavoriteService::getInstance($w)
->getFavoritesForUser(\AuthService::getInstance($w)->user()->id);
$categorisedFavorites = array();
if (!empty($results)) {
foreach ($results as $k => $favorite) {
Expand Down

0 comments on commit f7b5a29

Please sign in to comment.