Skip to content

Commit

Permalink
Update to use data-hub-foundation [WEB-2996]
Browse files Browse the repository at this point in the history
  • Loading branch information
zachgarwood committed Jan 14, 2025
1 parent cfbd700 commit 756e619
Show file tree
Hide file tree
Showing 43 changed files with 129 additions and 3,988 deletions.
2 changes: 1 addition & 1 deletion .env.testing
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ DB_CONNECTION='mysql'
DB_HOST='127.0.0.1'
DB_PORT=3306
DB_DATABASE='mobile-admin-test'
DB_USERNAME='mobile-admin'
DB_USERNAME='homestead'
DB_PASSWORD='secret'
2 changes: 1 addition & 1 deletion app/Helpers/CollectionHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ class CollectionHelpers
*/
public static function collectApi($value = null)
{
return new \App\Libraries\Api\Models\ApiCollection($value);
return new \Aic\Hub\Foundation\Library\Api\Models\ApiCollection($value);
}
}
2 changes: 1 addition & 1 deletion app/Helpers/StringHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public static function getLastWord($originalText)

public static function convertReferenceLinks($text, $_collectedReferences)
{
$codes = \App\Libraries\ShortcodeService::parse_ref($text);
$codes = \Aic\Hub\Foundation\Library\ShortcodeService::parse_ref($text);

foreach ($codes as $index => $code) {
if (isset($code['name']) && ($code['name'] == 'ref')) {
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Twill/BaseApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
use App\Helpers\UrlHelpers;
use App\Http\Controllers\Behaviors\HandlesTitleMarkup;
use App\Http\Controllers\Twill\Columns\ApiImage;
use App\Libraries\Api\Filters\Search;
use Aic\Hub\Foundation\Library\Api\Filters\Search;
use App\Repositories\Api\BaseApiRepository;
use Illuminate\Pagination\LengthAwarePaginator;
use Illuminate\Support\Collection;
Expand Down
Loading

0 comments on commit 756e619

Please sign in to comment.