Passed
Push — master ( 91116a...81034a )
by
unknown
03:49
created
app/Http/Controllers/DoctorDetailController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 use App\DoctorDetail;
6 6
 use Illuminate\Http\Request;
7 7
 
8
-class DoctorDetailController extends Controller
9
-{
8
+class DoctorDetailController extends Controller {
10 9
     /**
11 10
      * Display a listing of the resource.
12 11
      *
Please login to merge, or discard this patch.
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.
app/Hospital.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\Database\Eloquent\Model;
6 6
 
7
-class Hospital extends Model
8
-{
7
+class Hospital extends Model {
9 8
     /**
10 9
      * @var string
11 10
      */
Please login to merge, or discard this patch.
app/DoctorDetail.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\Database\Eloquent\Model;
6 6
 
7
-class DoctorDetail extends Model
8
-{
7
+class DoctorDetail extends Model {
9 8
     /**
10 9
      * @var string
11 10
      */
Please login to merge, or discard this patch.
app/Http/Controllers/DocController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,7 @@
 block discarded – undo
10 10
 use Illuminate\Support\Facades\Hash;
11 11
 use Illuminate\Support\Facades\Storage;
12 12
 
13
-class DocController extends Controller
14
-{
13
+class DocController extends Controller {
15 14
     /**
16 15
      * Create a new controller instance
17 16
      *
Please login to merge, or discard this patch.
app/Http/Controllers/SpecializationController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,7 @@
 block discarded – undo
6 6
 use App\City;
7 7
 use App\DoctorSpecialization;
8 8
 
9
-class SpecializationController extends Controller
10
-{
9
+class SpecializationController extends Controller {
11 10
     /**
12 11
      * Display a listing of the resource.
13 12
      *
Please login to merge, or discard this patch.