From 0da64e7295732189188ac2f6929128bed5b81662 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Fri, 24 Mar 2017 11:35:31 +0000 Subject: [PATCH] Apply fixes from StyleCI --- app/Services/NoteService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/NoteService.php b/app/Services/NoteService.php index 7762fd95..d395327b 100644 --- a/app/Services/NoteService.php +++ b/app/Services/NoteService.php @@ -30,7 +30,7 @@ class NoteService //uri of form http://host/places/slug, we want slug //get the URL path, then take last part, we can hack with basename //as path looks like file path. - $slug = basename(parse_Url($data['location'], PHP_URL_PATH)); + $slug = basename(parse_url($data['location'], PHP_URL_PATH)); $place = Place::where('slug', $slug)->first(); $note->place()->associate($place); }