Passed
Push — master ( 7cab02...0d1180 )
by Faiq
04:11
created
app/Http/Controllers/AdminController.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,8 +9,7 @@  discard block
 block discarded – undo
9 9
 use App\Admin;
10 10
 use Illuminate\Support\Facades\Storage;
11 11
 
12
-class AdminController extends Controller
13
-{
12
+class AdminController extends Controller {
14 13
     /**
15 14
      * AdminController constructor.
16 15
      */
@@ -243,7 +242,8 @@  discard block
 block discarded – undo
243 242
     /**
244 243
      * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector
245 244
      */
246
-    public function destroy() {
245
+    public function destroy()
246
+    {
247 247
         $admin = $this->currentUser();
248 248
 
249 249
         if($admin->delete()) {
Please login to merge, or discard this patch.
app/Http/Controllers/RoomController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,7 @@
 block discarded – undo
8 8
 use App\Hospital;
9 9
 use App\Room;
10 10
 
11
-class RoomController extends Controller
12
-{
11
+class RoomController extends Controller {
13 12
     /**
14 13
      * Show the form for creating a new resource.
15 14
      *
Please login to merge, or discard this patch.
app/Http/Kernel.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Foundation\Http\Kernel as HttpKernel;
6 6
 
7
-class Kernel extends HttpKernel
8
-{
7
+class Kernel extends HttpKernel {
9 8
     /**
10 9
      * The application's global HTTP middleware stack.
11 10
      *
Please login to merge, or discard this patch.
app/Articles.php 1 patch
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@  discard block
 block discarded – undo
5 5
 use App\Doctor;
6 6
 use Illuminate\Database\Eloquent\Model;
7 7
 
8
-class Articles extends Model
9
-{
8
+class Articles extends Model {
10 9
     /**
11 10
      * @var string
12 11
      */
@@ -34,7 +33,8 @@  discard block
 block discarded – undo
34 33
      * @param $id
35 34
      * @return array
36 35
      */
37
-    public function writer() {
36
+    public function writer()
37
+    {
38 38
         $adminId = $this->getAttributeValue('admin_id');
39 39
         $doctorId = $this->getAttributeValue('doctor_id');
40 40
 
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      */
58 58
     public function cutStr($str)
59 59
     {
60
-        if (strlen($str) > 200){
60
+        if (strlen($str) > 200) {
61 61
             return substr($str,0,200) . "...";
62 62
         }
63 63
         return $str;
Please login to merge, or discard this patch.