Should be "if (class_exists('\Illuminate\Support\Facades\Session')) {". Note the space after "if".