Completed
Branch master (8947bf)
by Richard
04:28
created
src/Block.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 	}
112 112
 
113 113
 	/**
114
-	 * @return mixed
114
+	 * @return Collection
115 115
 	 */
116 116
 	public function content()
117 117
 	{
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 	 * Checks if the content contains the specified item
137 137
 	 *
138 138
 	 * @param string $key
139
-	 * @return mixed
139
+	 * @return boolean
140 140
 	 */
141 141
 	public function has($key) {
142 142
 		return $this->content->has($key);
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
 	/**
164 164
 	 * Determines how this object is converted to JSON
165 165
 	 *
166
-	 * @return mixed
166
+	 * @return Collection
167 167
 	 */
168 168
 	public function jsonSerialize()
169 169
 	{
Please login to merge, or discard this patch.
src/Http/Controllers/StoryblokController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Http\Request;
6 6
 use Illuminate\Support\Facades\Cache;
7
-use Riclep\Storyblok\StoryblokFacade as StoryBlok;
8 7
 
9 8
 class StoryblokController
10 9
 {
Please login to merge, or discard this patch.
src/Page.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 	}
51 51
 
52 52
 	/**
53
-	 * @return array
53
+	 * @return string[]
54 54
 	 */
55 55
 	protected function view() {
56 56
 		$viewFile = strtolower(subStr(basename(get_class($this)), 0, -4));
Please login to merge, or discard this patch.
src/Traits/ProcessesBlocks.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 
6 6
 
7 7
 use App\Storyblok\DefaultBlock;
8
-use Illuminate\Support\Facades\Config;
9 8
 use Illuminate\Support\Str;
10 9
 
11 10
 trait ProcessesBlocks
Please login to merge, or discard this patch.
src/Traits/RequestsStories.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 	/**
29 29
 	 * Requests the story from the Storyblok API
30 30
 	 *
31
-	 * @param \Storyblok\Client $storyblok
31
+	 * @param \Storyblok\Client $storyblokClient
32 32
 	 * @param $slugOrUuid
33 33
 	 * @param bool $byUuid
34 34
 	 * @return array
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 	 * Gets the Story by slug
66 66
 	 *
67 67
 	 * @param $slug
68
-	 * @return mixed
68
+	 * @return RequestsStories
69 69
 	 * @throws Exception
70 70
 	 */
71 71
 	public function bySlug($slug)
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 	 * Gets the story by uuid
80 80
 	 *
81 81
 	 * @param $uuid
82
-	 * @return mixed
82
+	 * @return RequestsStories
83 83
 	 * @throws Exception
84 84
 	 */
85 85
 	public function byUuid($uuid)
Please login to merge, or discard this patch.