title: "Parse error: syntax error, unexpected ',', expecting ';'" laravel 5.5 in xampp 7.2.2 / PHP 7.2.2
body: <p>why am I getting this error while getting data from database in my controller? I use laravel 5.5 and php 7.2.2. </p>
  
  <pre><code>public function create()
  {
      $categories = Category::all();
  
      return view('post.create'), compact('categories'); 
  }
  </code></pre>
  
  <p>"Parse error: syntax error, unexpected ',', expecting ';'" in return view('post.create'), compact('categories'); </p>
  
  <p>pls help me i dont know why got this error.</p>