Commit 35e36428 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #253 from sparksp/2.2b1/session

Session should throw an Exception when it's not started
parents e41657c4 b4621e48
...@@ -111,7 +111,7 @@ class Session { ...@@ -111,7 +111,7 @@ class Session {
*/ */
public static function __callStatic($method, $parameters) public static function __callStatic($method, $parameters)
{ {
return call_user_func_array(array(static::$instance, $method), $parameters); return call_user_func_array(array(static::instance(), $method), $parameters);
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment