Skip to content

Commit 5fb5cdf

Browse files
committed
add php docblock to field method
1 parent bb53593 commit 5fb5cdf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Flynsarmy/DbBladeCompiler/DbView.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function setEngine($compiler)
3131
* @param array $data
3232
* @param array $mergeData
3333
* @param string $content_field
34-
* @return \Illuminate\View\View
34+
* @return DbView
3535
*/
3636
public function make($view, $data = array(), $mergeData = array(), $content_field = null)
3737
{
@@ -46,6 +46,10 @@ public function make($view, $data = array(), $mergeData = array(), $content_fiel
4646
return $this;
4747
}
4848

49+
/**
50+
* @param string $content_field
51+
* @return DbView
52+
*/
4953
public function field($content_field)
5054
{
5155
$this->content_field = $content_field;

0 commit comments

Comments
 (0)