@@ -112,20 +112,20 @@ |
||
112 | 112 | expect('decorate should add Behavior data and Category data to an array of UserBehaviors', |
113 | 113 | $this->assertEquals( |
114 | 114 | $this->user_behavior->decorateWithCategory($this->singleSimpleBehaviorNoBehavior), |
115 | - [['id' => 396, |
|
116 | - 'user_id' => 2, |
|
117 | - 'behavior_id' => 107, |
|
118 | - 'date' => '2016-06-17 04:12:43', |
|
119 | - 'behavior' => [ |
|
120 | - 'id' => 107, |
|
121 | - 'name' => 'numb', |
|
122 | - 'category_id' => 6, |
|
123 | - 'category' => [ |
|
124 | - 'id' => 6, |
|
125 | - 'name' => 'Exhausted', |
|
126 | - 'weight' => 8 |
|
127 | - ] |
|
128 | - ]]])); |
|
115 | + [['id' => 396, |
|
116 | + 'user_id' => 2, |
|
117 | + 'behavior_id' => 107, |
|
118 | + 'date' => '2016-06-17 04:12:43', |
|
119 | + 'behavior' => [ |
|
120 | + 'id' => 107, |
|
121 | + 'name' => 'numb', |
|
122 | + 'category_id' => 6, |
|
123 | + 'category' => [ |
|
124 | + 'id' => 6, |
|
125 | + 'name' => 'Exhausted', |
|
126 | + 'weight' => 8 |
|
127 | + ] |
|
128 | + ]]])); |
|
129 | 129 | } |
130 | 130 | |
131 | 131 | public function testGetDailyScore() { |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | ]; |
34 | 34 | public function setUp() { |
35 | 35 | // pull in test data |
36 | - $data = require(__DIR__.'/../data/checkinData.php'); |
|
36 | + $data = require(__DIR__ . '/../data/checkinData.php'); |
|
37 | 37 | $this->singleBhvr = $data['singleBhvr']; |
38 | 38 | $this->manyBhvrs = $data['manyBhvrs']; |
39 | 39 | $this->allBhvrs = $data['allBhvrs']; |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | $this->container->set('common\interfaces\UserInterface', '\site\tests\_support\MockUser'); |
44 | 44 | $this->container->set('common\interfaces\QuestionInterface', '\site\tests\_support\MockQuestion'); |
45 | 45 | $this->container->set('common\interfaces\BehaviorInterface', 'common\models\Behavior'); |
46 | - $this->container->set('common\interfaces\TimeInterface', function () { |
|
46 | + $this->container->set('common\interfaces\TimeInterface', function() { |
|
47 | 47 | return new \common\components\Time('America/Los_Angeles'); |
48 | 48 | }); |
49 | 49 | |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | } |
66 | 66 | |
67 | 67 | public function testCalculateScore() { |
68 | - $this->specify('calculateScore should function correctly', function () { |
|
68 | + $this->specify('calculateScore should function correctly', function() { |
|
69 | 69 | expect('calculateScore should return the empty set when null is passed', $this->assertEmpty($this->user_behavior->calculateScore(null))); |
70 | 70 | |
71 | 71 | expect('calculateScore should return the empty set with no selected behaviors', $this->assertEmpty($this->user_behavior->calculateScore([]))); |
@@ -20,7 +20,7 @@ |
||
20 | 20 | |
21 | 21 | expect('getCategories should return an array of 7 categories', $this->assertEquals(count($behaviors), 7)); |
22 | 22 | |
23 | - foreach($behaviors as $behavior) { |
|
23 | + foreach ($behaviors as $behavior) { |
|
24 | 24 | expect('this behavior to have a "name" key', $this->assertArrayHasKey('name', $behavior)); |
25 | 25 | expect('this behavior to have a "weight" key', $this->assertArrayHasKey('weight', $behavior)); |
26 | 26 | expect('this behavior to have a "behavior_count" key', $this->assertArrayHasKey('behavior_count', $behavior)); |
@@ -277,1328 +277,1328 @@ discard block |
||
277 | 277 | ], |
278 | 278 | ]; |
279 | 279 | |
280 | - $allBhvrs = [ |
|
281 | - 0 => [ |
|
282 | - 'id' => 614, |
|
283 | - 'user_id' => 2, |
|
284 | - 'behavior_id' => 11, |
|
285 | - 'date' => '2016-08-04 05:57:53', |
|
286 | - 'behavior' => [ |
|
287 | - 'id' => 11, |
|
288 | - 'name' => 'secrets', |
|
289 | - 'category_id' => 2, |
|
290 | - ], |
|
291 | - ], |
|
292 | - 1 => [ |
|
293 | - 'id' => 615, |
|
294 | - 'user_id' => 2, |
|
295 | - 'behavior_id' => 12, |
|
296 | - 'date' => '2016-08-04 05:57:53', |
|
297 | - 'behavior' => [ |
|
298 | - 'id' => 12, |
|
299 | - 'name' => 'bored', |
|
300 | - 'category_id' => 2, |
|
301 | - ], |
|
302 | - ], |
|
303 | - 2 => [ |
|
304 | - 'id' => 616, |
|
305 | - 'user_id' => 2, |
|
306 | - 'behavior_id' => 13, |
|
307 | - 'date' => '2016-08-04 05:57:53', |
|
308 | - 'behavior' => [ |
|
309 | - 'id' => 13, |
|
310 | - 'name' => 'less time/energy for God, meetings, and church', |
|
311 | - 'category_id' => 2, |
|
312 | - ], |
|
313 | - ], |
|
314 | - 3 => [ |
|
315 | - 'id' => 617, |
|
316 | - 'user_id' => 2, |
|
317 | - 'behavior_id' => 14, |
|
318 | - 'date' => '2016-08-04 05:57:53', |
|
319 | - 'behavior' => [ |
|
320 | - 'id' => 14, |
|
321 | - 'name' => 'avoiding support and accountability towards people', |
|
322 | - 'category_id' => 2, |
|
323 | - ], |
|
324 | - ], |
|
325 | - 4 => [ |
|
326 | - 'id' => 618, |
|
327 | - 'user_id' => 2, |
|
328 | - 'behavior_id' => 15, |
|
329 | - 'date' => '2016-08-04 05:57:53', |
|
330 | - 'behavior' => [ |
|
331 | - 'id' => 15, |
|
332 | - 'name' => 'superficial conversations', |
|
333 | - 'category_id' => 2, |
|
334 | - ], |
|
335 | - ], |
|
336 | - 5 => [ |
|
337 | - 'id' => 619, |
|
338 | - 'user_id' => 2, |
|
339 | - 'behavior_id' => 16, |
|
340 | - 'date' => '2016-08-04 05:57:53', |
|
341 | - 'behavior' => [ |
|
342 | - 'id' => 16, |
|
343 | - 'name' => 'sarcasm', |
|
344 | - 'category_id' => 2, |
|
345 | - ], |
|
346 | - ], |
|
347 | - 6 => [ |
|
348 | - 'id' => 620, |
|
349 | - 'user_id' => 2, |
|
350 | - 'behavior_id' => 17, |
|
351 | - 'date' => '2016-08-04 05:57:53', |
|
352 | - 'behavior' => [ |
|
353 | - 'id' => 17, |
|
354 | - 'name' => 'isolating yourself', |
|
355 | - 'category_id' => 2, |
|
356 | - ], |
|
357 | - ], |
|
358 | - 7 => [ |
|
359 | - 'id' => 621, |
|
360 | - 'user_id' => 2, |
|
361 | - 'behavior_id' => 18, |
|
362 | - 'date' => '2016-08-04 05:57:53', |
|
363 | - 'behavior' => [ |
|
364 | - 'id' => 18, |
|
365 | - 'name' => 'changes in goals', |
|
366 | - 'category_id' => 2, |
|
367 | - ], |
|
368 | - ], |
|
369 | - 8 => [ |
|
370 | - 'id' => 622, |
|
371 | - 'user_id' => 2, |
|
372 | - 'behavior_id' => 19, |
|
373 | - 'date' => '2016-08-04 05:57:53', |
|
374 | - 'behavior' => [ |
|
375 | - 'id' => 19, |
|
376 | - 'name' => 'flirting', |
|
377 | - 'category_id' => 2, |
|
378 | - ], |
|
379 | - ], |
|
380 | - 9 => [ |
|
381 | - 'id' => 623, |
|
382 | - 'user_id' => 2, |
|
383 | - 'behavior_id' => 20, |
|
384 | - 'date' => '2016-08-04 05:57:53', |
|
385 | - 'behavior' => [ |
|
386 | - 'id' => 20, |
|
387 | - 'name' => 'obsessed with relationships', |
|
388 | - 'category_id' => 2, |
|
389 | - ], |
|
390 | - ], |
|
391 | - 10 => [ |
|
392 | - 'id' => 624, |
|
393 | - 'user_id' => 2, |
|
394 | - 'behavior_id' => 21, |
|
395 | - 'date' => '2016-08-04 05:57:53', |
|
396 | - 'behavior' => [ |
|
397 | - 'id' => 21, |
|
398 | - 'name' => 'breaking promises/commitments', |
|
399 | - 'category_id' => 2, |
|
400 | - ], |
|
401 | - ], |
|
402 | - 11 => [ |
|
403 | - 'id' => 625, |
|
404 | - 'user_id' => 2, |
|
405 | - 'behavior_id' => 22, |
|
406 | - 'date' => '2016-08-04 05:57:53', |
|
407 | - 'behavior' => [ |
|
408 | - 'id' => 22, |
|
409 | - 'name' => 'neglecting family', |
|
410 | - 'category_id' => 2, |
|
411 | - ], |
|
412 | - ], |
|
413 | - 12 => [ |
|
414 | - 'id' => 626, |
|
415 | - 'user_id' => 2, |
|
416 | - 'behavior_id' => 23, |
|
417 | - 'date' => '2016-08-04 05:57:53', |
|
418 | - 'behavior' => [ |
|
419 | - 'id' => 23, |
|
420 | - 'name' => 'preoccupation with material things, television, or entertainment', |
|
421 | - 'category_id' => 2, |
|
422 | - ], |
|
423 | - ], |
|
424 | - 13 => [ |
|
425 | - 'id' => 627, |
|
426 | - 'user_id' => 2, |
|
427 | - 'behavior_id' => 24, |
|
428 | - 'date' => '2016-08-04 05:57:53', |
|
429 | - 'behavior' => [ |
|
430 | - 'id' => 24, |
|
431 | - 'name' => 'procrastination', |
|
432 | - 'category_id' => 2, |
|
433 | - ], |
|
434 | - ], |
|
435 | - 14 => [ |
|
436 | - 'id' => 628, |
|
437 | - 'user_id' => 2, |
|
438 | - 'behavior_id' => 25, |
|
439 | - 'date' => '2016-08-04 05:57:53', |
|
440 | - 'behavior' => [ |
|
441 | - 'id' => 25, |
|
442 | - 'name' => 'lying', |
|
443 | - 'category_id' => 2, |
|
444 | - ], |
|
445 | - ], |
|
446 | - 15 => [ |
|
447 | - 'id' => 629, |
|
448 | - 'user_id' => 2, |
|
449 | - 'behavior_id' => 26, |
|
450 | - 'date' => '2016-08-04 05:57:53', |
|
451 | - 'behavior' => [ |
|
452 | - 'id' => 26, |
|
453 | - 'name' => 'over-confidence', |
|
454 | - 'category_id' => 2, |
|
455 | - ], |
|
456 | - ], |
|
457 | - 16 => [ |
|
458 | - 'id' => 630, |
|
459 | - 'user_id' => 2, |
|
460 | - 'behavior_id' => 27, |
|
461 | - 'date' => '2016-08-04 05:57:53', |
|
462 | - 'behavior' => [ |
|
463 | - 'id' => 27, |
|
464 | - 'name' => 'hiding money', |
|
465 | - 'category_id' => 2, |
|
466 | - ], |
|
467 | - ], |
|
468 | - 17 => [ |
|
469 | - 'id' => 631, |
|
470 | - 'user_id' => 2, |
|
471 | - 'behavior_id' => 28, |
|
472 | - 'date' => '2016-08-04 05:57:53', |
|
473 | - 'behavior' => [ |
|
474 | - 'id' => 28, |
|
475 | - 'name' => 'worry', |
|
476 | - 'category_id' => 3, |
|
477 | - ], |
|
478 | - ], |
|
479 | - 18 => [ |
|
480 | - 'id' => 632, |
|
481 | - 'user_id' => 2, |
|
482 | - 'behavior_id' => 29, |
|
483 | - 'date' => '2016-08-04 05:57:53', |
|
484 | - 'behavior' => [ |
|
485 | - 'id' => 29, |
|
486 | - 'name' => 'using profanity', |
|
487 | - 'category_id' => 3, |
|
488 | - ], |
|
489 | - ], |
|
490 | - 19 => [ |
|
491 | - 'id' => 633, |
|
492 | - 'user_id' => 2, |
|
493 | - 'behavior_id' => 30, |
|
494 | - 'date' => '2016-08-04 05:57:53', |
|
495 | - 'behavior' => [ |
|
496 | - 'id' => 30, |
|
497 | - 'name' => 'being fearful', |
|
498 | - 'category_id' => 3, |
|
499 | - ], |
|
500 | - ], |
|
501 | - 20 => [ |
|
502 | - 'id' => 634, |
|
503 | - 'user_id' => 2, |
|
504 | - 'behavior_id' => 31, |
|
505 | - 'date' => '2016-08-04 05:57:53', |
|
506 | - 'behavior' => [ |
|
507 | - 'id' => 31, |
|
508 | - 'name' => 'being resentful', |
|
509 | - 'category_id' => 3, |
|
510 | - ], |
|
511 | - ], |
|
512 | - 21 => [ |
|
513 | - 'id' => 635, |
|
514 | - 'user_id' => 2, |
|
515 | - 'behavior_id' => 32, |
|
516 | - 'date' => '2016-08-04 05:57:53', |
|
517 | - 'behavior' => [ |
|
518 | - 'id' => 32, |
|
519 | - 'name' => 'replaying old, negative thoughts', |
|
520 | - 'category_id' => 3, |
|
521 | - ], |
|
522 | - ], |
|
523 | - 22 => [ |
|
524 | - 'id' => 636, |
|
525 | - 'user_id' => 2, |
|
526 | - 'behavior_id' => 33, |
|
527 | - 'date' => '2016-08-04 05:57:53', |
|
528 | - 'behavior' => [ |
|
529 | - 'id' => 33, |
|
530 | - 'name' => 'perfectionism', |
|
531 | - 'category_id' => 3, |
|
532 | - ], |
|
533 | - ], |
|
534 | - 23 => [ |
|
535 | - 'id' => 637, |
|
536 | - 'user_id' => 2, |
|
537 | - 'behavior_id' => 34, |
|
538 | - 'date' => '2016-08-04 05:57:53', |
|
539 | - 'behavior' => [ |
|
540 | - 'id' => 34, |
|
541 | - 'name' => 'juding others\' motives', |
|
542 | - 'category_id' => 3, |
|
543 | - ], |
|
544 | - ], |
|
545 | - 24 => [ |
|
546 | - 'id' => 638, |
|
547 | - 'user_id' => 2, |
|
548 | - 'behavior_id' => 36, |
|
549 | - 'date' => '2016-08-04 05:57:53', |
|
550 | - 'behavior' => [ |
|
551 | - 'id' => 36, |
|
552 | - 'name' => 'poor planning', |
|
553 | - 'category_id' => 3, |
|
554 | - ], |
|
555 | - ], |
|
556 | - 25 => [ |
|
557 | - 'id' => 639, |
|
558 | - 'user_id' => 2, |
|
559 | - 'behavior_id' => 37, |
|
560 | - 'date' => '2016-08-04 05:57:53', |
|
561 | - 'behavior' => [ |
|
562 | - 'id' => 37, |
|
563 | - 'name' => 'mind reading', |
|
564 | - 'category_id' => 3, |
|
565 | - ], |
|
566 | - ], |
|
567 | - 26 => [ |
|
568 | - 'id' => 640, |
|
569 | - 'user_id' => 2, |
|
570 | - 'behavior_id' => 38, |
|
571 | - 'date' => '2016-08-04 05:57:53', |
|
572 | - 'behavior' => [ |
|
573 | - 'id' => 38, |
|
574 | - 'name' => 'fantasy', |
|
575 | - 'category_id' => 3, |
|
576 | - ], |
|
577 | - ], |
|
578 | - 27 => [ |
|
579 | - 'id' => 641, |
|
580 | - 'user_id' => 2, |
|
581 | - 'behavior_id' => 41, |
|
582 | - 'date' => '2016-08-04 05:57:53', |
|
583 | - 'behavior' => [ |
|
584 | - 'id' => 41, |
|
585 | - 'name' => 'co-dependent rescuing', |
|
586 | - 'category_id' => 3, |
|
587 | - ], |
|
588 | - ], |
|
589 | - 28 => [ |
|
590 | - 'id' => 642, |
|
591 | - 'user_id' => 2, |
|
592 | - 'behavior_id' => 42, |
|
593 | - 'date' => '2016-08-04 05:57:53', |
|
594 | - 'behavior' => [ |
|
595 | - 'id' => 42, |
|
596 | - 'name' => 'sleep problems', |
|
597 | - 'category_id' => 3, |
|
598 | - ], |
|
599 | - ], |
|
600 | - 29 => [ |
|
601 | - 'id' => 643, |
|
602 | - 'user_id' => 2, |
|
603 | - 'behavior_id' => 43, |
|
604 | - 'date' => '2016-08-04 05:57:53', |
|
605 | - 'behavior' => [ |
|
606 | - 'id' => 43, |
|
607 | - 'name' => 'trouble concentrating', |
|
608 | - 'category_id' => 3, |
|
609 | - ], |
|
610 | - ], |
|
611 | - 30 => [ |
|
612 | - 'id' => 644, |
|
613 | - 'user_id' => 2, |
|
614 | - 'behavior_id' => 44, |
|
615 | - 'date' => '2016-08-04 05:57:53', |
|
616 | - 'behavior' => [ |
|
617 | - 'id' => 44, |
|
618 | - 'name' => 'seeking/creating drama', |
|
619 | - 'category_id' => 3, |
|
620 | - ], |
|
621 | - ], |
|
622 | - 31 => [ |
|
623 | - 'id' => 645, |
|
624 | - 'user_id' => 2, |
|
625 | - 'behavior_id' => 45, |
|
626 | - 'date' => '2016-08-04 05:57:53', |
|
627 | - 'behavior' => [ |
|
628 | - 'id' => 45, |
|
629 | - 'name' => 'gossip', |
|
630 | - 'category_id' => 3, |
|
631 | - ], |
|
632 | - ], |
|
633 | - 32 => [ |
|
634 | - 'id' => 646, |
|
635 | - 'user_id' => 2, |
|
636 | - 'behavior_id' => 46, |
|
637 | - 'date' => '2016-08-04 05:57:53', |
|
638 | - 'behavior' => [ |
|
639 | - 'id' => 46, |
|
640 | - 'name' => 'using over-the-counter medication for pain, sleep, and weight control', |
|
641 | - 'category_id' => 3, |
|
642 | - ], |
|
643 | - ], |
|
644 | - 33 => [ |
|
645 | - 'id' => 647, |
|
646 | - 'user_id' => 2, |
|
647 | - 'behavior_id' => 35, |
|
648 | - 'date' => '2016-08-04 05:57:53', |
|
649 | - 'behavior' => [ |
|
650 | - 'id' => 35, |
|
651 | - 'name' => 'making goals and lists you can\'t complete', |
|
652 | - 'category_id' => 3, |
|
653 | - ], |
|
654 | - ], |
|
655 | - 34 => [ |
|
656 | - 'id' => 648, |
|
657 | - 'user_id' => 2, |
|
658 | - 'behavior_id' => 47, |
|
659 | - 'date' => '2016-08-04 05:57:53', |
|
660 | - 'behavior' => [ |
|
661 | - 'id' => 47, |
|
662 | - 'name' => 'super busy', |
|
663 | - 'category_id' => 4, |
|
664 | - ], |
|
665 | - ], |
|
666 | - 35 => [ |
|
667 | - 'id' => 649, |
|
668 | - 'user_id' => 2, |
|
669 | - 'behavior_id' => 48, |
|
670 | - 'date' => '2016-08-04 05:57:53', |
|
671 | - 'behavior' => [ |
|
672 | - 'id' => 48, |
|
673 | - 'name' => 'workaholic', |
|
674 | - 'category_id' => 4, |
|
675 | - ], |
|
676 | - ], |
|
677 | - 36 => [ |
|
678 | - 'id' => 650, |
|
679 | - 'user_id' => 2, |
|
680 | - 'behavior_id' => 49, |
|
681 | - 'date' => '2016-08-04 05:57:53', |
|
682 | - 'behavior' => [ |
|
683 | - 'id' => 49, |
|
684 | - 'name' => 'can\'t relax', |
|
685 | - 'category_id' => 4, |
|
686 | - ], |
|
687 | - ], |
|
688 | - 37 => [ |
|
689 | - 'id' => 651, |
|
690 | - 'user_id' => 2, |
|
691 | - 'behavior_id' => 50, |
|
692 | - 'date' => '2016-08-04 05:57:53', |
|
693 | - 'behavior' => [ |
|
694 | - 'id' => 50, |
|
695 | - 'name' => 'driving too fast', |
|
696 | - 'category_id' => 4, |
|
697 | - ], |
|
698 | - ], |
|
699 | - 38 => [ |
|
700 | - 'id' => 652, |
|
701 | - 'user_id' => 2, |
|
702 | - 'behavior_id' => 51, |
|
703 | - 'date' => '2016-08-04 05:57:53', |
|
704 | - 'behavior' => [ |
|
705 | - 'id' => 51, |
|
706 | - 'name' => 'avoiding slowing down', |
|
707 | - 'category_id' => 4, |
|
708 | - ], |
|
709 | - ], |
|
710 | - 39 => [ |
|
711 | - 'id' => 653, |
|
712 | - 'user_id' => 2, |
|
713 | - 'behavior_id' => 52, |
|
714 | - 'date' => '2016-08-04 05:57:53', |
|
715 | - 'behavior' => [ |
|
716 | - 'id' => 52, |
|
717 | - 'name' => 'feeling driven', |
|
718 | - 'category_id' => 4, |
|
719 | - ], |
|
720 | - ], |
|
721 | - 40 => [ |
|
722 | - 'id' => 654, |
|
723 | - 'user_id' => 2, |
|
724 | - 'behavior_id' => 53, |
|
725 | - 'date' => '2016-08-04 05:57:53', |
|
726 | - 'behavior' => [ |
|
727 | - 'id' => 53, |
|
728 | - 'name' => 'in a hurry', |
|
729 | - 'category_id' => 4, |
|
730 | - ], |
|
731 | - ], |
|
732 | - 41 => [ |
|
733 | - 'id' => 655, |
|
734 | - 'user_id' => 2, |
|
735 | - 'behavior_id' => 54, |
|
736 | - 'date' => '2016-08-04 05:57:53', |
|
737 | - 'behavior' => [ |
|
738 | - 'id' => 54, |
|
739 | - 'name' => 'can\'t turn off thoughts', |
|
740 | - 'category_id' => 4, |
|
741 | - ], |
|
742 | - ], |
|
743 | - 42 => [ |
|
744 | - 'id' => 656, |
|
745 | - 'user_id' => 2, |
|
746 | - 'behavior_id' => 55, |
|
747 | - 'date' => '2016-08-04 05:57:53', |
|
748 | - 'behavior' => [ |
|
749 | - 'id' => 55, |
|
750 | - 'name' => 'skipping meals', |
|
751 | - 'category_id' => 4, |
|
752 | - ], |
|
753 | - ], |
|
754 | - 43 => [ |
|
755 | - 'id' => 657, |
|
756 | - 'user_id' => 2, |
|
757 | - 'behavior_id' => 56, |
|
758 | - 'date' => '2016-08-04 05:57:53', |
|
759 | - 'behavior' => [ |
|
760 | - 'id' => 56, |
|
761 | - 'name' => 'binge eating (usually at night]', |
|
762 | - 'category_id' => 4, |
|
763 | - ], |
|
764 | - ], |
|
765 | - 44 => [ |
|
766 | - 'id' => 658, |
|
767 | - 'user_id' => 2, |
|
768 | - 'behavior_id' => 57, |
|
769 | - 'date' => '2016-08-04 05:57:53', |
|
770 | - 'behavior' => [ |
|
771 | - 'id' => 57, |
|
772 | - 'name' => 'overspending', |
|
773 | - 'category_id' => 4, |
|
774 | - ], |
|
775 | - ], |
|
776 | - 45 => [ |
|
777 | - 'id' => 659, |
|
778 | - 'user_id' => 2, |
|
779 | - 'behavior_id' => 58, |
|
780 | - 'date' => '2016-08-04 05:57:53', |
|
781 | - 'behavior' => [ |
|
782 | - 'id' => 58, |
|
783 | - 'name' => 'can\'t identify own feelings/needs', |
|
784 | - 'category_id' => 4, |
|
785 | - ], |
|
786 | - ], |
|
787 | - 46 => [ |
|
788 | - 'id' => 660, |
|
789 | - 'user_id' => 2, |
|
790 | - 'behavior_id' => 59, |
|
791 | - 'date' => '2016-08-04 05:57:53', |
|
792 | - 'behavior' => [ |
|
793 | - 'id' => 59, |
|
794 | - 'name' => 'repetitive, negative thoughts', |
|
795 | - 'category_id' => 4, |
|
796 | - ], |
|
797 | - ], |
|
798 | - 47 => [ |
|
799 | - 'id' => 661, |
|
800 | - 'user_id' => 2, |
|
801 | - 'behavior_id' => 60, |
|
802 | - 'date' => '2016-08-04 05:57:53', |
|
803 | - 'behavior' => [ |
|
804 | - 'id' => 60, |
|
805 | - 'name' => 'irritable', |
|
806 | - 'category_id' => 4, |
|
807 | - ], |
|
808 | - ], |
|
809 | - 48 => [ |
|
810 | - 'id' => 662, |
|
811 | - 'user_id' => 2, |
|
812 | - 'behavior_id' => 61, |
|
813 | - 'date' => '2016-08-04 05:57:53', |
|
814 | - 'behavior' => [ |
|
815 | - 'id' => 61, |
|
816 | - 'name' => 'making excuses for "having to do it all"', |
|
817 | - 'category_id' => 4, |
|
818 | - ], |
|
819 | - ], |
|
820 | - 49 => [ |
|
821 | - 'id' => 663, |
|
822 | - 'user_id' => 2, |
|
823 | - 'behavior_id' => 62, |
|
824 | - 'date' => '2016-08-04 05:57:53', |
|
825 | - 'behavior' => [ |
|
826 | - 'id' => 62, |
|
827 | - 'name' => 'dramatic mood swings', |
|
828 | - 'category_id' => 4, |
|
829 | - ], |
|
830 | - ], |
|
831 | - 50 => [ |
|
832 | - 'id' => 664, |
|
833 | - 'user_id' => 2, |
|
834 | - 'behavior_id' => 63, |
|
835 | - 'date' => '2016-08-04 05:57:53', |
|
836 | - 'behavior' => [ |
|
837 | - 'id' => 63, |
|
838 | - 'name' => 'lust', |
|
839 | - 'category_id' => 4, |
|
840 | - ], |
|
841 | - ], |
|
842 | - 51 => [ |
|
843 | - 'id' => 665, |
|
844 | - 'user_id' => 2, |
|
845 | - 'behavior_id' => 64, |
|
846 | - 'date' => '2016-08-04 05:57:53', |
|
847 | - 'behavior' => [ |
|
848 | - 'id' => 64, |
|
849 | - 'name' => 'too much caffeine', |
|
850 | - 'category_id' => 4, |
|
851 | - ], |
|
852 | - ], |
|
853 | - 52 => [ |
|
854 | - 'id' => 666, |
|
855 | - 'user_id' => 2, |
|
856 | - 'behavior_id' => 65, |
|
857 | - 'date' => '2016-08-04 05:57:53', |
|
858 | - 'behavior' => [ |
|
859 | - 'id' => 65, |
|
860 | - 'name' => 'over exercising', |
|
861 | - 'category_id' => 4, |
|
862 | - ], |
|
863 | - ], |
|
864 | - 53 => [ |
|
865 | - 'id' => 667, |
|
866 | - 'user_id' => 2, |
|
867 | - 'behavior_id' => 66, |
|
868 | - 'date' => '2016-08-04 05:57:53', |
|
869 | - 'behavior' => [ |
|
870 | - 'id' => 66, |
|
871 | - 'name' => 'nervousness', |
|
872 | - 'category_id' => 4, |
|
873 | - ], |
|
874 | - ], |
|
875 | - 54 => [ |
|
876 | - 'id' => 668, |
|
877 | - 'user_id' => 2, |
|
878 | - 'behavior_id' => 67, |
|
879 | - 'date' => '2016-08-04 05:57:53', |
|
880 | - 'behavior' => [ |
|
881 | - 'id' => 67, |
|
882 | - 'name' => 'difficulty being alone or with people', |
|
883 | - 'category_id' => 4, |
|
884 | - ], |
|
885 | - ], |
|
886 | - 55 => [ |
|
887 | - 'id' => 669, |
|
888 | - 'user_id' => 2, |
|
889 | - 'behavior_id' => 68, |
|
890 | - 'date' => '2016-08-04 05:57:53', |
|
891 | - 'behavior' => [ |
|
892 | - 'id' => 68, |
|
893 | - 'name' => 'difficulty listening to others', |
|
894 | - 'category_id' => 4, |
|
895 | - ], |
|
896 | - ], |
|
897 | - 56 => [ |
|
898 | - 'id' => 670, |
|
899 | - 'user_id' => 2, |
|
900 | - 'behavior_id' => 69, |
|
901 | - 'date' => '2016-08-04 05:57:53', |
|
902 | - 'behavior' => [ |
|
903 | - 'id' => 69, |
|
904 | - 'name' => 'avoiding support', |
|
905 | - 'category_id' => 4, |
|
906 | - ], |
|
907 | - ], |
|
908 | - 57 => [ |
|
909 | - 'id' => 671, |
|
910 | - 'user_id' => 2, |
|
911 | - 'behavior_id' => 71, |
|
912 | - 'date' => '2016-08-04 05:57:53', |
|
913 | - 'behavior' => [ |
|
914 | - 'id' => 71, |
|
915 | - 'name' => 'sarcasm', |
|
916 | - 'category_id' => 5, |
|
917 | - ], |
|
918 | - ], |
|
919 | - 58 => [ |
|
920 | - 'id' => 672, |
|
921 | - 'user_id' => 2, |
|
922 | - 'behavior_id' => 72, |
|
923 | - 'date' => '2016-08-04 05:57:53', |
|
924 | - 'behavior' => [ |
|
925 | - 'id' => 72, |
|
926 | - 'name' => 'black and white, all or nothing thinking', |
|
927 | - 'category_id' => 5, |
|
928 | - ], |
|
929 | - ], |
|
930 | - 59 => [ |
|
931 | - 'id' => 673, |
|
932 | - 'user_id' => 2, |
|
933 | - 'behavior_id' => 73, |
|
934 | - 'date' => '2016-08-04 05:57:53', |
|
935 | - 'behavior' => [ |
|
936 | - 'id' => 73, |
|
937 | - 'name' => 'feeling that no one understands', |
|
938 | - 'category_id' => 5, |
|
939 | - ], |
|
940 | - ], |
|
941 | - 60 => [ |
|
942 | - 'id' => 674, |
|
943 | - 'user_id' => 2, |
|
944 | - 'behavior_id' => 74, |
|
945 | - 'date' => '2016-08-04 05:57:53', |
|
946 | - 'behavior' => [ |
|
947 | - 'id' => 74, |
|
948 | - 'name' => 'overreacting', |
|
949 | - 'category_id' => 5, |
|
950 | - ], |
|
951 | - ], |
|
952 | - 61 => [ |
|
953 | - 'id' => 675, |
|
954 | - 'user_id' => 2, |
|
955 | - 'behavior_id' => 75, |
|
956 | - 'date' => '2016-08-04 05:57:53', |
|
957 | - 'behavior' => [ |
|
958 | - 'id' => 75, |
|
959 | - 'name' => 'road rage', |
|
960 | - 'category_id' => 5, |
|
961 | - ], |
|
962 | - ], |
|
963 | - 62 => [ |
|
964 | - 'id' => 676, |
|
965 | - 'user_id' => 2, |
|
966 | - 'behavior_id' => 76, |
|
967 | - 'date' => '2016-08-04 05:57:53', |
|
968 | - 'behavior' => [ |
|
969 | - 'id' => 76, |
|
970 | - 'name' => 'constant resentments', |
|
971 | - 'category_id' => 5, |
|
972 | - ], |
|
973 | - ], |
|
974 | - 63 => [ |
|
975 | - 'id' => 677, |
|
976 | - 'user_id' => 2, |
|
977 | - 'behavior_id' => 77, |
|
978 | - 'date' => '2016-08-04 05:57:53', |
|
979 | - 'behavior' => [ |
|
980 | - 'id' => 77, |
|
981 | - 'name' => 'pushing others away', |
|
982 | - 'category_id' => 5, |
|
983 | - ], |
|
984 | - ], |
|
985 | - 64 => [ |
|
986 | - 'id' => 678, |
|
987 | - 'user_id' => 2, |
|
988 | - 'behavior_id' => 78, |
|
989 | - 'date' => '2016-08-04 05:57:53', |
|
990 | - 'behavior' => [ |
|
991 | - 'id' => 78, |
|
992 | - 'name' => 'increased isolation', |
|
993 | - 'category_id' => 5, |
|
994 | - ], |
|
995 | - ], |
|
996 | - 65 => [ |
|
997 | - 'id' => 679, |
|
998 | - 'user_id' => 2, |
|
999 | - 'behavior_id' => 79, |
|
1000 | - 'date' => '2016-08-04 05:57:53', |
|
1001 | - 'behavior' => [ |
|
1002 | - 'id' => 79, |
|
1003 | - 'name' => 'blaming', |
|
1004 | - 'category_id' => 5, |
|
1005 | - ], |
|
1006 | - ], |
|
1007 | - 66 => [ |
|
1008 | - 'id' => 680, |
|
1009 | - 'user_id' => 2, |
|
1010 | - 'behavior_id' => 80, |
|
1011 | - 'date' => '2016-08-04 05:57:53', |
|
1012 | - 'behavior' => [ |
|
1013 | - 'id' => 80, |
|
1014 | - 'name' => 'self pity', |
|
1015 | - 'category_id' => 5, |
|
1016 | - ], |
|
1017 | - ], |
|
1018 | - 67 => [ |
|
1019 | - 'id' => 681, |
|
1020 | - 'user_id' => 2, |
|
1021 | - 'behavior_id' => 81, |
|
1022 | - 'date' => '2016-08-04 05:57:53', |
|
1023 | - 'behavior' => [ |
|
1024 | - 'id' => 81, |
|
1025 | - 'name' => 'arguing', |
|
1026 | - 'category_id' => 5, |
|
1027 | - ], |
|
1028 | - ], |
|
1029 | - 68 => [ |
|
1030 | - 'id' => 682, |
|
1031 | - 'user_id' => 2, |
|
1032 | - 'behavior_id' => 83, |
|
1033 | - 'date' => '2016-08-04 05:57:53', |
|
1034 | - 'behavior' => [ |
|
1035 | - 'id' => 83, |
|
1036 | - 'name' => 'can\'t handle criticism', |
|
1037 | - 'category_id' => 5, |
|
1038 | - ], |
|
1039 | - ], |
|
1040 | - 69 => [ |
|
1041 | - 'id' => 683, |
|
1042 | - 'user_id' => 2, |
|
1043 | - 'behavior_id' => 84, |
|
1044 | - 'date' => '2016-08-04 05:57:53', |
|
1045 | - 'behavior' => [ |
|
1046 | - 'id' => 84, |
|
1047 | - 'name' => 'defensive', |
|
1048 | - 'category_id' => 5, |
|
1049 | - ], |
|
1050 | - ], |
|
1051 | - 70 => [ |
|
1052 | - 'id' => 684, |
|
1053 | - 'user_id' => 2, |
|
1054 | - 'behavior_id' => 85, |
|
1055 | - 'date' => '2016-08-04 05:57:53', |
|
1056 | - 'behavior' => [ |
|
1057 | - 'id' => 85, |
|
1058 | - 'name' => 'people are avoiding you', |
|
1059 | - 'category_id' => 5, |
|
1060 | - ], |
|
1061 | - ], |
|
1062 | - 71 => [ |
|
1063 | - 'id' => 685, |
|
1064 | - 'user_id' => 2, |
|
1065 | - 'behavior_id' => 86, |
|
1066 | - 'date' => '2016-08-04 05:57:53', |
|
1067 | - 'behavior' => [ |
|
1068 | - 'id' => 86, |
|
1069 | - 'name' => 'having to be right', |
|
1070 | - 'category_id' => 5, |
|
1071 | - ], |
|
1072 | - ], |
|
1073 | - 72 => [ |
|
1074 | - 'id' => 686, |
|
1075 | - 'user_id' => 2, |
|
1076 | - 'behavior_id' => 87, |
|
1077 | - 'date' => '2016-08-04 05:57:53', |
|
1078 | - 'behavior' => [ |
|
1079 | - 'id' => 87, |
|
1080 | - 'name' => 'digestive problems', |
|
1081 | - 'category_id' => 5, |
|
1082 | - ], |
|
1083 | - ], |
|
1084 | - 73 => [ |
|
1085 | - 'id' => 687, |
|
1086 | - 'user_id' => 2, |
|
1087 | - 'behavior_id' => 88, |
|
1088 | - 'date' => '2016-08-04 05:57:53', |
|
1089 | - 'behavior' => [ |
|
1090 | - 'id' => 88, |
|
1091 | - 'name' => 'headaches', |
|
1092 | - 'category_id' => 5, |
|
1093 | - ], |
|
1094 | - ], |
|
1095 | - 74 => [ |
|
1096 | - 'id' => 688, |
|
1097 | - 'user_id' => 2, |
|
1098 | - 'behavior_id' => 89, |
|
1099 | - 'date' => '2016-08-04 05:57:53', |
|
1100 | - 'behavior' => [ |
|
1101 | - 'id' => 89, |
|
1102 | - 'name' => 'obsessive (stuck] thoughts', |
|
1103 | - 'category_id' => 5, |
|
1104 | - ], |
|
1105 | - ], |
|
1106 | - 75 => [ |
|
1107 | - 'id' => 689, |
|
1108 | - 'user_id' => 2, |
|
1109 | - 'behavior_id' => 90, |
|
1110 | - 'date' => '2016-08-04 05:57:53', |
|
1111 | - 'behavior' => [ |
|
1112 | - 'id' => 90, |
|
1113 | - 'name' => 'can\'t forgive', |
|
1114 | - 'category_id' => 5, |
|
1115 | - ], |
|
1116 | - ], |
|
1117 | - 76 => [ |
|
1118 | - 'id' => 690, |
|
1119 | - 'user_id' => 2, |
|
1120 | - 'behavior_id' => 91, |
|
1121 | - 'date' => '2016-08-04 05:57:53', |
|
1122 | - 'behavior' => [ |
|
1123 | - 'id' => 91, |
|
1124 | - 'name' => 'feeling grandiose (superior]', |
|
1125 | - 'category_id' => 5, |
|
1126 | - ], |
|
1127 | - ], |
|
1128 | - 77 => [ |
|
1129 | - 'id' => 691, |
|
1130 | - 'user_id' => 2, |
|
1131 | - 'behavior_id' => 92, |
|
1132 | - 'date' => '2016-08-04 05:57:53', |
|
1133 | - 'behavior' => [ |
|
1134 | - 'id' => 92, |
|
1135 | - 'name' => 'intimidation', |
|
1136 | - 'category_id' => 5, |
|
1137 | - ], |
|
1138 | - ], |
|
1139 | - 78 => [ |
|
1140 | - 'id' => 692, |
|
1141 | - 'user_id' => 2, |
|
1142 | - 'behavior_id' => 93, |
|
1143 | - 'date' => '2016-08-04 05:57:53', |
|
1144 | - 'behavior' => [ |
|
1145 | - 'id' => 93, |
|
1146 | - 'name' => 'feeling aggressive', |
|
1147 | - 'category_id' => 5, |
|
1148 | - ], |
|
1149 | - ], |
|
1150 | - 79 => [ |
|
1151 | - 'id' => 693, |
|
1152 | - 'user_id' => 2, |
|
1153 | - 'behavior_id' => 70, |
|
1154 | - 'date' => '2016-08-04 05:57:53', |
|
1155 | - 'behavior' => [ |
|
1156 | - 'id' => 70, |
|
1157 | - 'name' => 'procrastination causing crises in money, work, or relationships', |
|
1158 | - 'category_id' => 5, |
|
1159 | - ], |
|
1160 | - ], |
|
1161 | - 80 => [ |
|
1162 | - 'id' => 694, |
|
1163 | - 'user_id' => 2, |
|
1164 | - 'behavior_id' => 82, |
|
1165 | - 'date' => '2016-08-04 05:57:53', |
|
1166 | - 'behavior' => [ |
|
1167 | - 'id' => 82, |
|
1168 | - 'name' => 'irrationality', |
|
1169 | - 'category_id' => 5, |
|
1170 | - ], |
|
1171 | - ], |
|
1172 | - 81 => [ |
|
1173 | - 'id' => 695, |
|
1174 | - 'user_id' => 2, |
|
1175 | - 'behavior_id' => 94, |
|
1176 | - 'date' => '2016-08-04 05:57:53', |
|
1177 | - 'behavior' => [ |
|
1178 | - 'id' => 94, |
|
1179 | - 'name' => 'depressed', |
|
1180 | - 'category_id' => 6, |
|
1181 | - ], |
|
1182 | - ], |
|
1183 | - 82 => [ |
|
1184 | - 'id' => 696, |
|
1185 | - 'user_id' => 2, |
|
1186 | - 'behavior_id' => 95, |
|
1187 | - 'date' => '2016-08-04 05:57:53', |
|
1188 | - 'behavior' => [ |
|
1189 | - 'id' => 95, |
|
1190 | - 'name' => 'panicked', |
|
1191 | - 'category_id' => 6, |
|
1192 | - ], |
|
1193 | - ], |
|
1194 | - 83 => [ |
|
1195 | - 'id' => 697, |
|
1196 | - 'user_id' => 2, |
|
1197 | - 'behavior_id' => 96, |
|
1198 | - 'date' => '2016-08-04 05:57:53', |
|
1199 | - 'behavior' => [ |
|
1200 | - 'id' => 96, |
|
1201 | - 'name' => 'confused', |
|
1202 | - 'category_id' => 6, |
|
1203 | - ], |
|
1204 | - ], |
|
1205 | - 84 => [ |
|
1206 | - 'id' => 698, |
|
1207 | - 'user_id' => 2, |
|
1208 | - 'behavior_id' => 97, |
|
1209 | - 'date' => '2016-08-04 05:57:53', |
|
1210 | - 'behavior' => [ |
|
1211 | - 'id' => 97, |
|
1212 | - 'name' => 'hopeless', |
|
1213 | - 'category_id' => 6, |
|
1214 | - ], |
|
1215 | - ], |
|
1216 | - 85 => [ |
|
1217 | - 'id' => 699, |
|
1218 | - 'user_id' => 2, |
|
1219 | - 'behavior_id' => 98, |
|
1220 | - 'date' => '2016-08-04 05:57:53', |
|
1221 | - 'behavior' => [ |
|
1222 | - 'id' => 98, |
|
1223 | - 'name' => 'sleeping too much or too little', |
|
1224 | - 'category_id' => 6, |
|
1225 | - ], |
|
1226 | - ], |
|
1227 | - 86 => [ |
|
1228 | - 'id' => 700, |
|
1229 | - 'user_id' => 2, |
|
1230 | - 'behavior_id' => 99, |
|
1231 | - 'date' => '2016-08-04 05:57:53', |
|
1232 | - 'behavior' => [ |
|
1233 | - 'id' => 99, |
|
1234 | - 'name' => 'can\'t cope', |
|
1235 | - 'category_id' => 6, |
|
1236 | - ], |
|
1237 | - ], |
|
1238 | - 87 => [ |
|
1239 | - 'id' => 701, |
|
1240 | - 'user_id' => 2, |
|
1241 | - 'behavior_id' => 100, |
|
1242 | - 'date' => '2016-08-04 05:57:53', |
|
1243 | - 'behavior' => [ |
|
1244 | - 'id' => 100, |
|
1245 | - 'name' => 'overwhelmed', |
|
1246 | - 'category_id' => 6, |
|
1247 | - ], |
|
1248 | - ], |
|
1249 | - 88 => [ |
|
1250 | - 'id' => 702, |
|
1251 | - 'user_id' => 2, |
|
1252 | - 'behavior_id' => 101, |
|
1253 | - 'date' => '2016-08-04 05:57:53', |
|
1254 | - 'behavior' => [ |
|
1255 | - 'id' => 101, |
|
1256 | - 'name' => 'crying for "no reason"', |
|
1257 | - 'category_id' => 6, |
|
1258 | - ], |
|
1259 | - ], |
|
1260 | - 89 => [ |
|
1261 | - 'id' => 703, |
|
1262 | - 'user_id' => 2, |
|
1263 | - 'behavior_id' => 102, |
|
1264 | - 'date' => '2016-08-04 05:57:53', |
|
1265 | - 'behavior' => [ |
|
1266 | - 'id' => 102, |
|
1267 | - 'name' => 'can\'t think', |
|
1268 | - 'category_id' => 6, |
|
1269 | - ], |
|
1270 | - ], |
|
1271 | - 90 => [ |
|
1272 | - 'id' => 704, |
|
1273 | - 'user_id' => 2, |
|
1274 | - 'behavior_id' => 103, |
|
1275 | - 'date' => '2016-08-04 05:57:53', |
|
1276 | - 'behavior' => [ |
|
1277 | - 'id' => 103, |
|
1278 | - 'name' => 'forgetful', |
|
1279 | - 'category_id' => 6, |
|
1280 | - ], |
|
1281 | - ], |
|
1282 | - 91 => [ |
|
1283 | - 'id' => 705, |
|
1284 | - 'user_id' => 2, |
|
1285 | - 'behavior_id' => 104, |
|
1286 | - 'date' => '2016-08-04 05:57:53', |
|
1287 | - 'behavior' => [ |
|
1288 | - 'id' => 104, |
|
1289 | - 'name' => 'pessimistic', |
|
1290 | - 'category_id' => 6, |
|
1291 | - ], |
|
1292 | - ], |
|
1293 | - 92 => [ |
|
1294 | - 'id' => 706, |
|
1295 | - 'user_id' => 2, |
|
1296 | - 'behavior_id' => 105, |
|
1297 | - 'date' => '2016-08-04 05:57:53', |
|
1298 | - 'behavior' => [ |
|
1299 | - 'id' => 105, |
|
1300 | - 'name' => 'helpless', |
|
1301 | - 'category_id' => 6, |
|
1302 | - ], |
|
1303 | - ], |
|
1304 | - 93 => [ |
|
1305 | - 'id' => 707, |
|
1306 | - 'user_id' => 2, |
|
1307 | - 'behavior_id' => 106, |
|
1308 | - 'date' => '2016-08-04 05:57:53', |
|
1309 | - 'behavior' => [ |
|
1310 | - 'id' => 106, |
|
1311 | - 'name' => 'tired', |
|
1312 | - 'category_id' => 6, |
|
1313 | - ], |
|
1314 | - ], |
|
1315 | - 94 => [ |
|
1316 | - 'id' => 708, |
|
1317 | - 'user_id' => 2, |
|
1318 | - 'behavior_id' => 107, |
|
1319 | - 'date' => '2016-08-04 05:57:53', |
|
1320 | - 'behavior' => [ |
|
1321 | - 'id' => 107, |
|
1322 | - 'name' => 'numb', |
|
1323 | - 'category_id' => 6, |
|
1324 | - ], |
|
1325 | - ], |
|
1326 | - 95 => [ |
|
1327 | - 'id' => 709, |
|
1328 | - 'user_id' => 2, |
|
1329 | - 'behavior_id' => 108, |
|
1330 | - 'date' => '2016-08-04 05:57:53', |
|
1331 | - 'behavior' => [ |
|
1332 | - 'id' => 108, |
|
1333 | - 'name' => 'wanting to run', |
|
1334 | - 'category_id' => 6, |
|
1335 | - ], |
|
1336 | - ], |
|
1337 | - 96 => [ |
|
1338 | - 'id' => 710, |
|
1339 | - 'user_id' => 2, |
|
1340 | - 'behavior_id' => 109, |
|
1341 | - 'date' => '2016-08-04 05:57:53', |
|
1342 | - 'behavior' => [ |
|
1343 | - 'id' => 109, |
|
1344 | - 'name' => 'constant cravings for old coping behaviors', |
|
1345 | - 'category_id' => 6, |
|
1346 | - ], |
|
1347 | - ], |
|
1348 | - 97 => [ |
|
1349 | - 'id' => 711, |
|
1350 | - 'user_id' => 2, |
|
1351 | - 'behavior_id' => 110, |
|
1352 | - 'date' => '2016-08-04 05:57:53', |
|
1353 | - 'behavior' => [ |
|
1354 | - 'id' => 110, |
|
1355 | - 'name' => 'thinking of using drugs and alcohol', |
|
1356 | - 'category_id' => 6, |
|
1357 | - ], |
|
1358 | - ], |
|
1359 | - 98 => [ |
|
1360 | - 'id' => 712, |
|
1361 | - 'user_id' => 2, |
|
1362 | - 'behavior_id' => 111, |
|
1363 | - 'date' => '2016-08-04 05:57:53', |
|
1364 | - 'behavior' => [ |
|
1365 | - 'id' => 111, |
|
1366 | - 'name' => 'seeking out old unhealthy people and places', |
|
1367 | - 'category_id' => 6, |
|
1368 | - ], |
|
1369 | - ], |
|
1370 | - 99 => [ |
|
1371 | - 'id' => 713, |
|
1372 | - 'user_id' => 2, |
|
1373 | - 'behavior_id' => 112, |
|
1374 | - 'date' => '2016-08-04 05:57:53', |
|
1375 | - 'behavior' => [ |
|
1376 | - 'id' => 112, |
|
1377 | - 'name' => 'really isolated', |
|
1378 | - 'category_id' => 6, |
|
1379 | - ], |
|
1380 | - ], |
|
1381 | - 100 => [ |
|
1382 | - 'id' => 714, |
|
1383 | - 'user_id' => 2, |
|
1384 | - 'behavior_id' => 113, |
|
1385 | - 'date' => '2016-08-04 05:57:53', |
|
1386 | - 'behavior' => [ |
|
1387 | - 'id' => 113, |
|
1388 | - 'name' => 'people are angry with you', |
|
1389 | - 'category_id' => 6, |
|
1390 | - ], |
|
1391 | - ], |
|
1392 | - 101 => [ |
|
1393 | - 'id' => 715, |
|
1394 | - 'user_id' => 2, |
|
1395 | - 'behavior_id' => 114, |
|
1396 | - 'date' => '2016-08-04 05:57:53', |
|
1397 | - 'behavior' => [ |
|
1398 | - 'id' => 114, |
|
1399 | - 'name' => 'self-abuse', |
|
1400 | - 'category_id' => 6, |
|
1401 | - ], |
|
1402 | - ], |
|
1403 | - 102 => [ |
|
1404 | - 'id' => 716, |
|
1405 | - 'user_id' => 2, |
|
1406 | - 'behavior_id' => 115, |
|
1407 | - 'date' => '2016-08-04 05:57:53', |
|
1408 | - 'behavior' => [ |
|
1409 | - 'id' => 115, |
|
1410 | - 'name' => 'suicidal thoughts', |
|
1411 | - 'category_id' => 6, |
|
1412 | - ], |
|
1413 | - ], |
|
1414 | - 103 => [ |
|
1415 | - 'id' => 717, |
|
1416 | - 'user_id' => 2, |
|
1417 | - 'behavior_id' => 116, |
|
1418 | - 'date' => '2016-08-04 05:57:53', |
|
1419 | - 'behavior' => [ |
|
1420 | - 'id' => 116, |
|
1421 | - 'name' => 'no goals', |
|
1422 | - 'category_id' => 6, |
|
1423 | - ], |
|
1424 | - ], |
|
1425 | - 104 => [ |
|
1426 | - 'id' => 718, |
|
1427 | - 'user_id' => 2, |
|
1428 | - 'behavior_id' => 117, |
|
1429 | - 'date' => '2016-08-04 05:57:53', |
|
1430 | - 'behavior' => [ |
|
1431 | - 'id' => 117, |
|
1432 | - 'name' => 'survival mode', |
|
1433 | - 'category_id' => 6, |
|
1434 | - ], |
|
1435 | - ], |
|
1436 | - 105 => [ |
|
1437 | - 'id' => 719, |
|
1438 | - 'user_id' => 2, |
|
1439 | - 'behavior_id' => 118, |
|
1440 | - 'date' => '2016-08-04 05:57:53', |
|
1441 | - 'behavior' => [ |
|
1442 | - 'id' => 118, |
|
1443 | - 'name' => 'not returning phone calls', |
|
1444 | - 'category_id' => 6, |
|
1445 | - ], |
|
1446 | - ], |
|
1447 | - 106 => [ |
|
1448 | - 'id' => 720, |
|
1449 | - 'user_id' => 2, |
|
1450 | - 'behavior_id' => 119, |
|
1451 | - 'date' => '2016-08-04 05:57:53', |
|
1452 | - 'behavior' => [ |
|
1453 | - 'id' => 119, |
|
1454 | - 'name' => 'missing work', |
|
1455 | - 'category_id' => 6, |
|
1456 | - ], |
|
1457 | - ], |
|
1458 | - 107 => [ |
|
1459 | - 'id' => 721, |
|
1460 | - 'user_id' => 2, |
|
1461 | - 'behavior_id' => 120, |
|
1462 | - 'date' => '2016-08-04 05:57:53', |
|
1463 | - 'behavior' => [ |
|
1464 | - 'id' => 120, |
|
1465 | - 'name' => 'irritability', |
|
1466 | - 'category_id' => 6, |
|
1467 | - ], |
|
1468 | - ], |
|
1469 | - 108 => [ |
|
1470 | - 'id' => 722, |
|
1471 | - 'user_id' => 2, |
|
1472 | - 'behavior_id' => 121, |
|
1473 | - 'date' => '2016-08-04 05:57:53', |
|
1474 | - 'behavior' => [ |
|
1475 | - 'id' => 121, |
|
1476 | - 'name' => 'loss of appetite', |
|
1477 | - 'category_id' => 6, |
|
1478 | - ], |
|
1479 | - ], |
|
1480 | - 109 => [ |
|
1481 | - 'id' => 723, |
|
1482 | - 'user_id' => 2, |
|
1483 | - 'behavior_id' => 122, |
|
1484 | - 'date' => '2016-08-04 05:57:53', |
|
1485 | - 'behavior' => [ |
|
1486 | - 'id' => 122, |
|
1487 | - 'name' => 'returning to the place you swore you would never go again', |
|
1488 | - 'category_id' => 7, |
|
1489 | - ], |
|
1490 | - ], |
|
1491 | - 110 => [ |
|
1492 | - 'id' => 724, |
|
1493 | - 'user_id' => 2, |
|
1494 | - 'behavior_id' => 123, |
|
1495 | - 'date' => '2016-08-04 05:57:53', |
|
1496 | - 'behavior' => [ |
|
1497 | - 'id' => 123, |
|
1498 | - 'name' => 'giving up', |
|
1499 | - 'category_id' => 7, |
|
1500 | - ], |
|
1501 | - ], |
|
1502 | - 111 => [ |
|
1503 | - 'id' => 725, |
|
1504 | - 'user_id' => 2, |
|
1505 | - 'behavior_id' => 124, |
|
1506 | - 'date' => '2016-08-04 05:57:53', |
|
1507 | - 'behavior' => [ |
|
1508 | - 'id' => 124, |
|
1509 | - 'name' => 'giving in', |
|
1510 | - 'category_id' => 7, |
|
1511 | - ], |
|
1512 | - ], |
|
1513 | - 112 => [ |
|
1514 | - 'id' => 726, |
|
1515 | - 'user_id' => 2, |
|
1516 | - 'behavior_id' => 125, |
|
1517 | - 'date' => '2016-08-04 05:57:53', |
|
1518 | - 'behavior' => [ |
|
1519 | - 'id' => 125, |
|
1520 | - 'name' => 'out of control', |
|
1521 | - 'category_id' => 7, |
|
1522 | - ], |
|
1523 | - ], |
|
1524 | - 113 => [ |
|
1525 | - 'id' => 727, |
|
1526 | - 'user_id' => 2, |
|
1527 | - 'behavior_id' => 126, |
|
1528 | - 'date' => '2016-08-04 05:57:53', |
|
1529 | - 'behavior' => [ |
|
1530 | - 'id' => 126, |
|
1531 | - 'name' => 'lost in your addiction', |
|
1532 | - 'category_id' => 7, |
|
1533 | - ], |
|
1534 | - ], |
|
1535 | - 114 => [ |
|
1536 | - 'id' => 728, |
|
1537 | - 'user_id' => 2, |
|
1538 | - 'behavior_id' => 127, |
|
1539 | - 'date' => '2016-08-04 05:57:53', |
|
1540 | - 'behavior' => [ |
|
1541 | - 'id' => 127, |
|
1542 | - 'name' => 'lying to yourself and others', |
|
1543 | - 'category_id' => 7, |
|
1544 | - ], |
|
1545 | - ], |
|
1546 | - 115 => [ |
|
1547 | - 'id' => 729, |
|
1548 | - 'user_id' => 2, |
|
1549 | - 'behavior_id' => 128, |
|
1550 | - 'date' => '2016-08-04 05:57:53', |
|
1551 | - 'behavior' => [ |
|
1552 | - 'id' => 128, |
|
1553 | - 'name' => 'feeling you just can\'t manage without your coping behavior, at least for now', |
|
1554 | - 'category_id' => 7, |
|
1555 | - ], |
|
1556 | - ], |
|
1557 | - 116 => [ |
|
1558 | - 'id' => 730, |
|
1559 | - 'user_id' => 2, |
|
1560 | - 'behavior_id' => 129, |
|
1561 | - 'date' => '2016-08-04 05:57:53', |
|
1562 | - 'behavior' => [ |
|
1563 | - 'id' => 129, |
|
1564 | - 'name' => 'shame', |
|
1565 | - 'category_id' => 7, |
|
1566 | - ], |
|
1567 | - ], |
|
1568 | - 117 => [ |
|
1569 | - 'id' => 731, |
|
1570 | - 'user_id' => 2, |
|
1571 | - 'behavior_id' => 130, |
|
1572 | - 'date' => '2016-08-04 05:57:53', |
|
1573 | - 'behavior' => [ |
|
1574 | - 'id' => 130, |
|
1575 | - 'name' => 'condemnation', |
|
1576 | - 'category_id' => 7, |
|
1577 | - ], |
|
1578 | - ], |
|
1579 | - 118 => [ |
|
1580 | - 'id' => 732, |
|
1581 | - 'user_id' => 2, |
|
1582 | - 'behavior_id' => 131, |
|
1583 | - 'date' => '2016-08-04 05:57:53', |
|
1584 | - 'behavior' => [ |
|
1585 | - 'id' => 131, |
|
1586 | - 'name' => 'guilt', |
|
1587 | - 'category_id' => 7, |
|
1588 | - ], |
|
1589 | - ], |
|
1590 | - 119 => [ |
|
1591 | - 'id' => 733, |
|
1592 | - 'user_id' => 2, |
|
1593 | - 'behavior_id' => 132, |
|
1594 | - 'date' => '2016-08-04 05:57:53', |
|
1595 | - 'behavior' => [ |
|
1596 | - 'id' => 132, |
|
1597 | - 'name' => 'aloneness', |
|
1598 | - 'category_id' => 7, |
|
1599 | - ], |
|
1600 | - ], |
|
1601 | - ]; |
|
280 | + $allBhvrs = [ |
|
281 | + 0 => [ |
|
282 | + 'id' => 614, |
|
283 | + 'user_id' => 2, |
|
284 | + 'behavior_id' => 11, |
|
285 | + 'date' => '2016-08-04 05:57:53', |
|
286 | + 'behavior' => [ |
|
287 | + 'id' => 11, |
|
288 | + 'name' => 'secrets', |
|
289 | + 'category_id' => 2, |
|
290 | + ], |
|
291 | + ], |
|
292 | + 1 => [ |
|
293 | + 'id' => 615, |
|
294 | + 'user_id' => 2, |
|
295 | + 'behavior_id' => 12, |
|
296 | + 'date' => '2016-08-04 05:57:53', |
|
297 | + 'behavior' => [ |
|
298 | + 'id' => 12, |
|
299 | + 'name' => 'bored', |
|
300 | + 'category_id' => 2, |
|
301 | + ], |
|
302 | + ], |
|
303 | + 2 => [ |
|
304 | + 'id' => 616, |
|
305 | + 'user_id' => 2, |
|
306 | + 'behavior_id' => 13, |
|
307 | + 'date' => '2016-08-04 05:57:53', |
|
308 | + 'behavior' => [ |
|
309 | + 'id' => 13, |
|
310 | + 'name' => 'less time/energy for God, meetings, and church', |
|
311 | + 'category_id' => 2, |
|
312 | + ], |
|
313 | + ], |
|
314 | + 3 => [ |
|
315 | + 'id' => 617, |
|
316 | + 'user_id' => 2, |
|
317 | + 'behavior_id' => 14, |
|
318 | + 'date' => '2016-08-04 05:57:53', |
|
319 | + 'behavior' => [ |
|
320 | + 'id' => 14, |
|
321 | + 'name' => 'avoiding support and accountability towards people', |
|
322 | + 'category_id' => 2, |
|
323 | + ], |
|
324 | + ], |
|
325 | + 4 => [ |
|
326 | + 'id' => 618, |
|
327 | + 'user_id' => 2, |
|
328 | + 'behavior_id' => 15, |
|
329 | + 'date' => '2016-08-04 05:57:53', |
|
330 | + 'behavior' => [ |
|
331 | + 'id' => 15, |
|
332 | + 'name' => 'superficial conversations', |
|
333 | + 'category_id' => 2, |
|
334 | + ], |
|
335 | + ], |
|
336 | + 5 => [ |
|
337 | + 'id' => 619, |
|
338 | + 'user_id' => 2, |
|
339 | + 'behavior_id' => 16, |
|
340 | + 'date' => '2016-08-04 05:57:53', |
|
341 | + 'behavior' => [ |
|
342 | + 'id' => 16, |
|
343 | + 'name' => 'sarcasm', |
|
344 | + 'category_id' => 2, |
|
345 | + ], |
|
346 | + ], |
|
347 | + 6 => [ |
|
348 | + 'id' => 620, |
|
349 | + 'user_id' => 2, |
|
350 | + 'behavior_id' => 17, |
|
351 | + 'date' => '2016-08-04 05:57:53', |
|
352 | + 'behavior' => [ |
|
353 | + 'id' => 17, |
|
354 | + 'name' => 'isolating yourself', |
|
355 | + 'category_id' => 2, |
|
356 | + ], |
|
357 | + ], |
|
358 | + 7 => [ |
|
359 | + 'id' => 621, |
|
360 | + 'user_id' => 2, |
|
361 | + 'behavior_id' => 18, |
|
362 | + 'date' => '2016-08-04 05:57:53', |
|
363 | + 'behavior' => [ |
|
364 | + 'id' => 18, |
|
365 | + 'name' => 'changes in goals', |
|
366 | + 'category_id' => 2, |
|
367 | + ], |
|
368 | + ], |
|
369 | + 8 => [ |
|
370 | + 'id' => 622, |
|
371 | + 'user_id' => 2, |
|
372 | + 'behavior_id' => 19, |
|
373 | + 'date' => '2016-08-04 05:57:53', |
|
374 | + 'behavior' => [ |
|
375 | + 'id' => 19, |
|
376 | + 'name' => 'flirting', |
|
377 | + 'category_id' => 2, |
|
378 | + ], |
|
379 | + ], |
|
380 | + 9 => [ |
|
381 | + 'id' => 623, |
|
382 | + 'user_id' => 2, |
|
383 | + 'behavior_id' => 20, |
|
384 | + 'date' => '2016-08-04 05:57:53', |
|
385 | + 'behavior' => [ |
|
386 | + 'id' => 20, |
|
387 | + 'name' => 'obsessed with relationships', |
|
388 | + 'category_id' => 2, |
|
389 | + ], |
|
390 | + ], |
|
391 | + 10 => [ |
|
392 | + 'id' => 624, |
|
393 | + 'user_id' => 2, |
|
394 | + 'behavior_id' => 21, |
|
395 | + 'date' => '2016-08-04 05:57:53', |
|
396 | + 'behavior' => [ |
|
397 | + 'id' => 21, |
|
398 | + 'name' => 'breaking promises/commitments', |
|
399 | + 'category_id' => 2, |
|
400 | + ], |
|
401 | + ], |
|
402 | + 11 => [ |
|
403 | + 'id' => 625, |
|
404 | + 'user_id' => 2, |
|
405 | + 'behavior_id' => 22, |
|
406 | + 'date' => '2016-08-04 05:57:53', |
|
407 | + 'behavior' => [ |
|
408 | + 'id' => 22, |
|
409 | + 'name' => 'neglecting family', |
|
410 | + 'category_id' => 2, |
|
411 | + ], |
|
412 | + ], |
|
413 | + 12 => [ |
|
414 | + 'id' => 626, |
|
415 | + 'user_id' => 2, |
|
416 | + 'behavior_id' => 23, |
|
417 | + 'date' => '2016-08-04 05:57:53', |
|
418 | + 'behavior' => [ |
|
419 | + 'id' => 23, |
|
420 | + 'name' => 'preoccupation with material things, television, or entertainment', |
|
421 | + 'category_id' => 2, |
|
422 | + ], |
|
423 | + ], |
|
424 | + 13 => [ |
|
425 | + 'id' => 627, |
|
426 | + 'user_id' => 2, |
|
427 | + 'behavior_id' => 24, |
|
428 | + 'date' => '2016-08-04 05:57:53', |
|
429 | + 'behavior' => [ |
|
430 | + 'id' => 24, |
|
431 | + 'name' => 'procrastination', |
|
432 | + 'category_id' => 2, |
|
433 | + ], |
|
434 | + ], |
|
435 | + 14 => [ |
|
436 | + 'id' => 628, |
|
437 | + 'user_id' => 2, |
|
438 | + 'behavior_id' => 25, |
|
439 | + 'date' => '2016-08-04 05:57:53', |
|
440 | + 'behavior' => [ |
|
441 | + 'id' => 25, |
|
442 | + 'name' => 'lying', |
|
443 | + 'category_id' => 2, |
|
444 | + ], |
|
445 | + ], |
|
446 | + 15 => [ |
|
447 | + 'id' => 629, |
|
448 | + 'user_id' => 2, |
|
449 | + 'behavior_id' => 26, |
|
450 | + 'date' => '2016-08-04 05:57:53', |
|
451 | + 'behavior' => [ |
|
452 | + 'id' => 26, |
|
453 | + 'name' => 'over-confidence', |
|
454 | + 'category_id' => 2, |
|
455 | + ], |
|
456 | + ], |
|
457 | + 16 => [ |
|
458 | + 'id' => 630, |
|
459 | + 'user_id' => 2, |
|
460 | + 'behavior_id' => 27, |
|
461 | + 'date' => '2016-08-04 05:57:53', |
|
462 | + 'behavior' => [ |
|
463 | + 'id' => 27, |
|
464 | + 'name' => 'hiding money', |
|
465 | + 'category_id' => 2, |
|
466 | + ], |
|
467 | + ], |
|
468 | + 17 => [ |
|
469 | + 'id' => 631, |
|
470 | + 'user_id' => 2, |
|
471 | + 'behavior_id' => 28, |
|
472 | + 'date' => '2016-08-04 05:57:53', |
|
473 | + 'behavior' => [ |
|
474 | + 'id' => 28, |
|
475 | + 'name' => 'worry', |
|
476 | + 'category_id' => 3, |
|
477 | + ], |
|
478 | + ], |
|
479 | + 18 => [ |
|
480 | + 'id' => 632, |
|
481 | + 'user_id' => 2, |
|
482 | + 'behavior_id' => 29, |
|
483 | + 'date' => '2016-08-04 05:57:53', |
|
484 | + 'behavior' => [ |
|
485 | + 'id' => 29, |
|
486 | + 'name' => 'using profanity', |
|
487 | + 'category_id' => 3, |
|
488 | + ], |
|
489 | + ], |
|
490 | + 19 => [ |
|
491 | + 'id' => 633, |
|
492 | + 'user_id' => 2, |
|
493 | + 'behavior_id' => 30, |
|
494 | + 'date' => '2016-08-04 05:57:53', |
|
495 | + 'behavior' => [ |
|
496 | + 'id' => 30, |
|
497 | + 'name' => 'being fearful', |
|
498 | + 'category_id' => 3, |
|
499 | + ], |
|
500 | + ], |
|
501 | + 20 => [ |
|
502 | + 'id' => 634, |
|
503 | + 'user_id' => 2, |
|
504 | + 'behavior_id' => 31, |
|
505 | + 'date' => '2016-08-04 05:57:53', |
|
506 | + 'behavior' => [ |
|
507 | + 'id' => 31, |
|
508 | + 'name' => 'being resentful', |
|
509 | + 'category_id' => 3, |
|
510 | + ], |
|
511 | + ], |
|
512 | + 21 => [ |
|
513 | + 'id' => 635, |
|
514 | + 'user_id' => 2, |
|
515 | + 'behavior_id' => 32, |
|
516 | + 'date' => '2016-08-04 05:57:53', |
|
517 | + 'behavior' => [ |
|
518 | + 'id' => 32, |
|
519 | + 'name' => 'replaying old, negative thoughts', |
|
520 | + 'category_id' => 3, |
|
521 | + ], |
|
522 | + ], |
|
523 | + 22 => [ |
|
524 | + 'id' => 636, |
|
525 | + 'user_id' => 2, |
|
526 | + 'behavior_id' => 33, |
|
527 | + 'date' => '2016-08-04 05:57:53', |
|
528 | + 'behavior' => [ |
|
529 | + 'id' => 33, |
|
530 | + 'name' => 'perfectionism', |
|
531 | + 'category_id' => 3, |
|
532 | + ], |
|
533 | + ], |
|
534 | + 23 => [ |
|
535 | + 'id' => 637, |
|
536 | + 'user_id' => 2, |
|
537 | + 'behavior_id' => 34, |
|
538 | + 'date' => '2016-08-04 05:57:53', |
|
539 | + 'behavior' => [ |
|
540 | + 'id' => 34, |
|
541 | + 'name' => 'juding others\' motives', |
|
542 | + 'category_id' => 3, |
|
543 | + ], |
|
544 | + ], |
|
545 | + 24 => [ |
|
546 | + 'id' => 638, |
|
547 | + 'user_id' => 2, |
|
548 | + 'behavior_id' => 36, |
|
549 | + 'date' => '2016-08-04 05:57:53', |
|
550 | + 'behavior' => [ |
|
551 | + 'id' => 36, |
|
552 | + 'name' => 'poor planning', |
|
553 | + 'category_id' => 3, |
|
554 | + ], |
|
555 | + ], |
|
556 | + 25 => [ |
|
557 | + 'id' => 639, |
|
558 | + 'user_id' => 2, |
|
559 | + 'behavior_id' => 37, |
|
560 | + 'date' => '2016-08-04 05:57:53', |
|
561 | + 'behavior' => [ |
|
562 | + 'id' => 37, |
|
563 | + 'name' => 'mind reading', |
|
564 | + 'category_id' => 3, |
|
565 | + ], |
|
566 | + ], |
|
567 | + 26 => [ |
|
568 | + 'id' => 640, |
|
569 | + 'user_id' => 2, |
|
570 | + 'behavior_id' => 38, |
|
571 | + 'date' => '2016-08-04 05:57:53', |
|
572 | + 'behavior' => [ |
|
573 | + 'id' => 38, |
|
574 | + 'name' => 'fantasy', |
|
575 | + 'category_id' => 3, |
|
576 | + ], |
|
577 | + ], |
|
578 | + 27 => [ |
|
579 | + 'id' => 641, |
|
580 | + 'user_id' => 2, |
|
581 | + 'behavior_id' => 41, |
|
582 | + 'date' => '2016-08-04 05:57:53', |
|
583 | + 'behavior' => [ |
|
584 | + 'id' => 41, |
|
585 | + 'name' => 'co-dependent rescuing', |
|
586 | + 'category_id' => 3, |
|
587 | + ], |
|
588 | + ], |
|
589 | + 28 => [ |
|
590 | + 'id' => 642, |
|
591 | + 'user_id' => 2, |
|
592 | + 'behavior_id' => 42, |
|
593 | + 'date' => '2016-08-04 05:57:53', |
|
594 | + 'behavior' => [ |
|
595 | + 'id' => 42, |
|
596 | + 'name' => 'sleep problems', |
|
597 | + 'category_id' => 3, |
|
598 | + ], |
|
599 | + ], |
|
600 | + 29 => [ |
|
601 | + 'id' => 643, |
|
602 | + 'user_id' => 2, |
|
603 | + 'behavior_id' => 43, |
|
604 | + 'date' => '2016-08-04 05:57:53', |
|
605 | + 'behavior' => [ |
|
606 | + 'id' => 43, |
|
607 | + 'name' => 'trouble concentrating', |
|
608 | + 'category_id' => 3, |
|
609 | + ], |
|
610 | + ], |
|
611 | + 30 => [ |
|
612 | + 'id' => 644, |
|
613 | + 'user_id' => 2, |
|
614 | + 'behavior_id' => 44, |
|
615 | + 'date' => '2016-08-04 05:57:53', |
|
616 | + 'behavior' => [ |
|
617 | + 'id' => 44, |
|
618 | + 'name' => 'seeking/creating drama', |
|
619 | + 'category_id' => 3, |
|
620 | + ], |
|
621 | + ], |
|
622 | + 31 => [ |
|
623 | + 'id' => 645, |
|
624 | + 'user_id' => 2, |
|
625 | + 'behavior_id' => 45, |
|
626 | + 'date' => '2016-08-04 05:57:53', |
|
627 | + 'behavior' => [ |
|
628 | + 'id' => 45, |
|
629 | + 'name' => 'gossip', |
|
630 | + 'category_id' => 3, |
|
631 | + ], |
|
632 | + ], |
|
633 | + 32 => [ |
|
634 | + 'id' => 646, |
|
635 | + 'user_id' => 2, |
|
636 | + 'behavior_id' => 46, |
|
637 | + 'date' => '2016-08-04 05:57:53', |
|
638 | + 'behavior' => [ |
|
639 | + 'id' => 46, |
|
640 | + 'name' => 'using over-the-counter medication for pain, sleep, and weight control', |
|
641 | + 'category_id' => 3, |
|
642 | + ], |
|
643 | + ], |
|
644 | + 33 => [ |
|
645 | + 'id' => 647, |
|
646 | + 'user_id' => 2, |
|
647 | + 'behavior_id' => 35, |
|
648 | + 'date' => '2016-08-04 05:57:53', |
|
649 | + 'behavior' => [ |
|
650 | + 'id' => 35, |
|
651 | + 'name' => 'making goals and lists you can\'t complete', |
|
652 | + 'category_id' => 3, |
|
653 | + ], |
|
654 | + ], |
|
655 | + 34 => [ |
|
656 | + 'id' => 648, |
|
657 | + 'user_id' => 2, |
|
658 | + 'behavior_id' => 47, |
|
659 | + 'date' => '2016-08-04 05:57:53', |
|
660 | + 'behavior' => [ |
|
661 | + 'id' => 47, |
|
662 | + 'name' => 'super busy', |
|
663 | + 'category_id' => 4, |
|
664 | + ], |
|
665 | + ], |
|
666 | + 35 => [ |
|
667 | + 'id' => 649, |
|
668 | + 'user_id' => 2, |
|
669 | + 'behavior_id' => 48, |
|
670 | + 'date' => '2016-08-04 05:57:53', |
|
671 | + 'behavior' => [ |
|
672 | + 'id' => 48, |
|
673 | + 'name' => 'workaholic', |
|
674 | + 'category_id' => 4, |
|
675 | + ], |
|
676 | + ], |
|
677 | + 36 => [ |
|
678 | + 'id' => 650, |
|
679 | + 'user_id' => 2, |
|
680 | + 'behavior_id' => 49, |
|
681 | + 'date' => '2016-08-04 05:57:53', |
|
682 | + 'behavior' => [ |
|
683 | + 'id' => 49, |
|
684 | + 'name' => 'can\'t relax', |
|
685 | + 'category_id' => 4, |
|
686 | + ], |
|
687 | + ], |
|
688 | + 37 => [ |
|
689 | + 'id' => 651, |
|
690 | + 'user_id' => 2, |
|
691 | + 'behavior_id' => 50, |
|
692 | + 'date' => '2016-08-04 05:57:53', |
|
693 | + 'behavior' => [ |
|
694 | + 'id' => 50, |
|
695 | + 'name' => 'driving too fast', |
|
696 | + 'category_id' => 4, |
|
697 | + ], |
|
698 | + ], |
|
699 | + 38 => [ |
|
700 | + 'id' => 652, |
|
701 | + 'user_id' => 2, |
|
702 | + 'behavior_id' => 51, |
|
703 | + 'date' => '2016-08-04 05:57:53', |
|
704 | + 'behavior' => [ |
|
705 | + 'id' => 51, |
|
706 | + 'name' => 'avoiding slowing down', |
|
707 | + 'category_id' => 4, |
|
708 | + ], |
|
709 | + ], |
|
710 | + 39 => [ |
|
711 | + 'id' => 653, |
|
712 | + 'user_id' => 2, |
|
713 | + 'behavior_id' => 52, |
|
714 | + 'date' => '2016-08-04 05:57:53', |
|
715 | + 'behavior' => [ |
|
716 | + 'id' => 52, |
|
717 | + 'name' => 'feeling driven', |
|
718 | + 'category_id' => 4, |
|
719 | + ], |
|
720 | + ], |
|
721 | + 40 => [ |
|
722 | + 'id' => 654, |
|
723 | + 'user_id' => 2, |
|
724 | + 'behavior_id' => 53, |
|
725 | + 'date' => '2016-08-04 05:57:53', |
|
726 | + 'behavior' => [ |
|
727 | + 'id' => 53, |
|
728 | + 'name' => 'in a hurry', |
|
729 | + 'category_id' => 4, |
|
730 | + ], |
|
731 | + ], |
|
732 | + 41 => [ |
|
733 | + 'id' => 655, |
|
734 | + 'user_id' => 2, |
|
735 | + 'behavior_id' => 54, |
|
736 | + 'date' => '2016-08-04 05:57:53', |
|
737 | + 'behavior' => [ |
|
738 | + 'id' => 54, |
|
739 | + 'name' => 'can\'t turn off thoughts', |
|
740 | + 'category_id' => 4, |
|
741 | + ], |
|
742 | + ], |
|
743 | + 42 => [ |
|
744 | + 'id' => 656, |
|
745 | + 'user_id' => 2, |
|
746 | + 'behavior_id' => 55, |
|
747 | + 'date' => '2016-08-04 05:57:53', |
|
748 | + 'behavior' => [ |
|
749 | + 'id' => 55, |
|
750 | + 'name' => 'skipping meals', |
|
751 | + 'category_id' => 4, |
|
752 | + ], |
|
753 | + ], |
|
754 | + 43 => [ |
|
755 | + 'id' => 657, |
|
756 | + 'user_id' => 2, |
|
757 | + 'behavior_id' => 56, |
|
758 | + 'date' => '2016-08-04 05:57:53', |
|
759 | + 'behavior' => [ |
|
760 | + 'id' => 56, |
|
761 | + 'name' => 'binge eating (usually at night]', |
|
762 | + 'category_id' => 4, |
|
763 | + ], |
|
764 | + ], |
|
765 | + 44 => [ |
|
766 | + 'id' => 658, |
|
767 | + 'user_id' => 2, |
|
768 | + 'behavior_id' => 57, |
|
769 | + 'date' => '2016-08-04 05:57:53', |
|
770 | + 'behavior' => [ |
|
771 | + 'id' => 57, |
|
772 | + 'name' => 'overspending', |
|
773 | + 'category_id' => 4, |
|
774 | + ], |
|
775 | + ], |
|
776 | + 45 => [ |
|
777 | + 'id' => 659, |
|
778 | + 'user_id' => 2, |
|
779 | + 'behavior_id' => 58, |
|
780 | + 'date' => '2016-08-04 05:57:53', |
|
781 | + 'behavior' => [ |
|
782 | + 'id' => 58, |
|
783 | + 'name' => 'can\'t identify own feelings/needs', |
|
784 | + 'category_id' => 4, |
|
785 | + ], |
|
786 | + ], |
|
787 | + 46 => [ |
|
788 | + 'id' => 660, |
|
789 | + 'user_id' => 2, |
|
790 | + 'behavior_id' => 59, |
|
791 | + 'date' => '2016-08-04 05:57:53', |
|
792 | + 'behavior' => [ |
|
793 | + 'id' => 59, |
|
794 | + 'name' => 'repetitive, negative thoughts', |
|
795 | + 'category_id' => 4, |
|
796 | + ], |
|
797 | + ], |
|
798 | + 47 => [ |
|
799 | + 'id' => 661, |
|
800 | + 'user_id' => 2, |
|
801 | + 'behavior_id' => 60, |
|
802 | + 'date' => '2016-08-04 05:57:53', |
|
803 | + 'behavior' => [ |
|
804 | + 'id' => 60, |
|
805 | + 'name' => 'irritable', |
|
806 | + 'category_id' => 4, |
|
807 | + ], |
|
808 | + ], |
|
809 | + 48 => [ |
|
810 | + 'id' => 662, |
|
811 | + 'user_id' => 2, |
|
812 | + 'behavior_id' => 61, |
|
813 | + 'date' => '2016-08-04 05:57:53', |
|
814 | + 'behavior' => [ |
|
815 | + 'id' => 61, |
|
816 | + 'name' => 'making excuses for "having to do it all"', |
|
817 | + 'category_id' => 4, |
|
818 | + ], |
|
819 | + ], |
|
820 | + 49 => [ |
|
821 | + 'id' => 663, |
|
822 | + 'user_id' => 2, |
|
823 | + 'behavior_id' => 62, |
|
824 | + 'date' => '2016-08-04 05:57:53', |
|
825 | + 'behavior' => [ |
|
826 | + 'id' => 62, |
|
827 | + 'name' => 'dramatic mood swings', |
|
828 | + 'category_id' => 4, |
|
829 | + ], |
|
830 | + ], |
|
831 | + 50 => [ |
|
832 | + 'id' => 664, |
|
833 | + 'user_id' => 2, |
|
834 | + 'behavior_id' => 63, |
|
835 | + 'date' => '2016-08-04 05:57:53', |
|
836 | + 'behavior' => [ |
|
837 | + 'id' => 63, |
|
838 | + 'name' => 'lust', |
|
839 | + 'category_id' => 4, |
|
840 | + ], |
|
841 | + ], |
|
842 | + 51 => [ |
|
843 | + 'id' => 665, |
|
844 | + 'user_id' => 2, |
|
845 | + 'behavior_id' => 64, |
|
846 | + 'date' => '2016-08-04 05:57:53', |
|
847 | + 'behavior' => [ |
|
848 | + 'id' => 64, |
|
849 | + 'name' => 'too much caffeine', |
|
850 | + 'category_id' => 4, |
|
851 | + ], |
|
852 | + ], |
|
853 | + 52 => [ |
|
854 | + 'id' => 666, |
|
855 | + 'user_id' => 2, |
|
856 | + 'behavior_id' => 65, |
|
857 | + 'date' => '2016-08-04 05:57:53', |
|
858 | + 'behavior' => [ |
|
859 | + 'id' => 65, |
|
860 | + 'name' => 'over exercising', |
|
861 | + 'category_id' => 4, |
|
862 | + ], |
|
863 | + ], |
|
864 | + 53 => [ |
|
865 | + 'id' => 667, |
|
866 | + 'user_id' => 2, |
|
867 | + 'behavior_id' => 66, |
|
868 | + 'date' => '2016-08-04 05:57:53', |
|
869 | + 'behavior' => [ |
|
870 | + 'id' => 66, |
|
871 | + 'name' => 'nervousness', |
|
872 | + 'category_id' => 4, |
|
873 | + ], |
|
874 | + ], |
|
875 | + 54 => [ |
|
876 | + 'id' => 668, |
|
877 | + 'user_id' => 2, |
|
878 | + 'behavior_id' => 67, |
|
879 | + 'date' => '2016-08-04 05:57:53', |
|
880 | + 'behavior' => [ |
|
881 | + 'id' => 67, |
|
882 | + 'name' => 'difficulty being alone or with people', |
|
883 | + 'category_id' => 4, |
|
884 | + ], |
|
885 | + ], |
|
886 | + 55 => [ |
|
887 | + 'id' => 669, |
|
888 | + 'user_id' => 2, |
|
889 | + 'behavior_id' => 68, |
|
890 | + 'date' => '2016-08-04 05:57:53', |
|
891 | + 'behavior' => [ |
|
892 | + 'id' => 68, |
|
893 | + 'name' => 'difficulty listening to others', |
|
894 | + 'category_id' => 4, |
|
895 | + ], |
|
896 | + ], |
|
897 | + 56 => [ |
|
898 | + 'id' => 670, |
|
899 | + 'user_id' => 2, |
|
900 | + 'behavior_id' => 69, |
|
901 | + 'date' => '2016-08-04 05:57:53', |
|
902 | + 'behavior' => [ |
|
903 | + 'id' => 69, |
|
904 | + 'name' => 'avoiding support', |
|
905 | + 'category_id' => 4, |
|
906 | + ], |
|
907 | + ], |
|
908 | + 57 => [ |
|
909 | + 'id' => 671, |
|
910 | + 'user_id' => 2, |
|
911 | + 'behavior_id' => 71, |
|
912 | + 'date' => '2016-08-04 05:57:53', |
|
913 | + 'behavior' => [ |
|
914 | + 'id' => 71, |
|
915 | + 'name' => 'sarcasm', |
|
916 | + 'category_id' => 5, |
|
917 | + ], |
|
918 | + ], |
|
919 | + 58 => [ |
|
920 | + 'id' => 672, |
|
921 | + 'user_id' => 2, |
|
922 | + 'behavior_id' => 72, |
|
923 | + 'date' => '2016-08-04 05:57:53', |
|
924 | + 'behavior' => [ |
|
925 | + 'id' => 72, |
|
926 | + 'name' => 'black and white, all or nothing thinking', |
|
927 | + 'category_id' => 5, |
|
928 | + ], |
|
929 | + ], |
|
930 | + 59 => [ |
|
931 | + 'id' => 673, |
|
932 | + 'user_id' => 2, |
|
933 | + 'behavior_id' => 73, |
|
934 | + 'date' => '2016-08-04 05:57:53', |
|
935 | + 'behavior' => [ |
|
936 | + 'id' => 73, |
|
937 | + 'name' => 'feeling that no one understands', |
|
938 | + 'category_id' => 5, |
|
939 | + ], |
|
940 | + ], |
|
941 | + 60 => [ |
|
942 | + 'id' => 674, |
|
943 | + 'user_id' => 2, |
|
944 | + 'behavior_id' => 74, |
|
945 | + 'date' => '2016-08-04 05:57:53', |
|
946 | + 'behavior' => [ |
|
947 | + 'id' => 74, |
|
948 | + 'name' => 'overreacting', |
|
949 | + 'category_id' => 5, |
|
950 | + ], |
|
951 | + ], |
|
952 | + 61 => [ |
|
953 | + 'id' => 675, |
|
954 | + 'user_id' => 2, |
|
955 | + 'behavior_id' => 75, |
|
956 | + 'date' => '2016-08-04 05:57:53', |
|
957 | + 'behavior' => [ |
|
958 | + 'id' => 75, |
|
959 | + 'name' => 'road rage', |
|
960 | + 'category_id' => 5, |
|
961 | + ], |
|
962 | + ], |
|
963 | + 62 => [ |
|
964 | + 'id' => 676, |
|
965 | + 'user_id' => 2, |
|
966 | + 'behavior_id' => 76, |
|
967 | + 'date' => '2016-08-04 05:57:53', |
|
968 | + 'behavior' => [ |
|
969 | + 'id' => 76, |
|
970 | + 'name' => 'constant resentments', |
|
971 | + 'category_id' => 5, |
|
972 | + ], |
|
973 | + ], |
|
974 | + 63 => [ |
|
975 | + 'id' => 677, |
|
976 | + 'user_id' => 2, |
|
977 | + 'behavior_id' => 77, |
|
978 | + 'date' => '2016-08-04 05:57:53', |
|
979 | + 'behavior' => [ |
|
980 | + 'id' => 77, |
|
981 | + 'name' => 'pushing others away', |
|
982 | + 'category_id' => 5, |
|
983 | + ], |
|
984 | + ], |
|
985 | + 64 => [ |
|
986 | + 'id' => 678, |
|
987 | + 'user_id' => 2, |
|
988 | + 'behavior_id' => 78, |
|
989 | + 'date' => '2016-08-04 05:57:53', |
|
990 | + 'behavior' => [ |
|
991 | + 'id' => 78, |
|
992 | + 'name' => 'increased isolation', |
|
993 | + 'category_id' => 5, |
|
994 | + ], |
|
995 | + ], |
|
996 | + 65 => [ |
|
997 | + 'id' => 679, |
|
998 | + 'user_id' => 2, |
|
999 | + 'behavior_id' => 79, |
|
1000 | + 'date' => '2016-08-04 05:57:53', |
|
1001 | + 'behavior' => [ |
|
1002 | + 'id' => 79, |
|
1003 | + 'name' => 'blaming', |
|
1004 | + 'category_id' => 5, |
|
1005 | + ], |
|
1006 | + ], |
|
1007 | + 66 => [ |
|
1008 | + 'id' => 680, |
|
1009 | + 'user_id' => 2, |
|
1010 | + 'behavior_id' => 80, |
|
1011 | + 'date' => '2016-08-04 05:57:53', |
|
1012 | + 'behavior' => [ |
|
1013 | + 'id' => 80, |
|
1014 | + 'name' => 'self pity', |
|
1015 | + 'category_id' => 5, |
|
1016 | + ], |
|
1017 | + ], |
|
1018 | + 67 => [ |
|
1019 | + 'id' => 681, |
|
1020 | + 'user_id' => 2, |
|
1021 | + 'behavior_id' => 81, |
|
1022 | + 'date' => '2016-08-04 05:57:53', |
|
1023 | + 'behavior' => [ |
|
1024 | + 'id' => 81, |
|
1025 | + 'name' => 'arguing', |
|
1026 | + 'category_id' => 5, |
|
1027 | + ], |
|
1028 | + ], |
|
1029 | + 68 => [ |
|
1030 | + 'id' => 682, |
|
1031 | + 'user_id' => 2, |
|
1032 | + 'behavior_id' => 83, |
|
1033 | + 'date' => '2016-08-04 05:57:53', |
|
1034 | + 'behavior' => [ |
|
1035 | + 'id' => 83, |
|
1036 | + 'name' => 'can\'t handle criticism', |
|
1037 | + 'category_id' => 5, |
|
1038 | + ], |
|
1039 | + ], |
|
1040 | + 69 => [ |
|
1041 | + 'id' => 683, |
|
1042 | + 'user_id' => 2, |
|
1043 | + 'behavior_id' => 84, |
|
1044 | + 'date' => '2016-08-04 05:57:53', |
|
1045 | + 'behavior' => [ |
|
1046 | + 'id' => 84, |
|
1047 | + 'name' => 'defensive', |
|
1048 | + 'category_id' => 5, |
|
1049 | + ], |
|
1050 | + ], |
|
1051 | + 70 => [ |
|
1052 | + 'id' => 684, |
|
1053 | + 'user_id' => 2, |
|
1054 | + 'behavior_id' => 85, |
|
1055 | + 'date' => '2016-08-04 05:57:53', |
|
1056 | + 'behavior' => [ |
|
1057 | + 'id' => 85, |
|
1058 | + 'name' => 'people are avoiding you', |
|
1059 | + 'category_id' => 5, |
|
1060 | + ], |
|
1061 | + ], |
|
1062 | + 71 => [ |
|
1063 | + 'id' => 685, |
|
1064 | + 'user_id' => 2, |
|
1065 | + 'behavior_id' => 86, |
|
1066 | + 'date' => '2016-08-04 05:57:53', |
|
1067 | + 'behavior' => [ |
|
1068 | + 'id' => 86, |
|
1069 | + 'name' => 'having to be right', |
|
1070 | + 'category_id' => 5, |
|
1071 | + ], |
|
1072 | + ], |
|
1073 | + 72 => [ |
|
1074 | + 'id' => 686, |
|
1075 | + 'user_id' => 2, |
|
1076 | + 'behavior_id' => 87, |
|
1077 | + 'date' => '2016-08-04 05:57:53', |
|
1078 | + 'behavior' => [ |
|
1079 | + 'id' => 87, |
|
1080 | + 'name' => 'digestive problems', |
|
1081 | + 'category_id' => 5, |
|
1082 | + ], |
|
1083 | + ], |
|
1084 | + 73 => [ |
|
1085 | + 'id' => 687, |
|
1086 | + 'user_id' => 2, |
|
1087 | + 'behavior_id' => 88, |
|
1088 | + 'date' => '2016-08-04 05:57:53', |
|
1089 | + 'behavior' => [ |
|
1090 | + 'id' => 88, |
|
1091 | + 'name' => 'headaches', |
|
1092 | + 'category_id' => 5, |
|
1093 | + ], |
|
1094 | + ], |
|
1095 | + 74 => [ |
|
1096 | + 'id' => 688, |
|
1097 | + 'user_id' => 2, |
|
1098 | + 'behavior_id' => 89, |
|
1099 | + 'date' => '2016-08-04 05:57:53', |
|
1100 | + 'behavior' => [ |
|
1101 | + 'id' => 89, |
|
1102 | + 'name' => 'obsessive (stuck] thoughts', |
|
1103 | + 'category_id' => 5, |
|
1104 | + ], |
|
1105 | + ], |
|
1106 | + 75 => [ |
|
1107 | + 'id' => 689, |
|
1108 | + 'user_id' => 2, |
|
1109 | + 'behavior_id' => 90, |
|
1110 | + 'date' => '2016-08-04 05:57:53', |
|
1111 | + 'behavior' => [ |
|
1112 | + 'id' => 90, |
|
1113 | + 'name' => 'can\'t forgive', |
|
1114 | + 'category_id' => 5, |
|
1115 | + ], |
|
1116 | + ], |
|
1117 | + 76 => [ |
|
1118 | + 'id' => 690, |
|
1119 | + 'user_id' => 2, |
|
1120 | + 'behavior_id' => 91, |
|
1121 | + 'date' => '2016-08-04 05:57:53', |
|
1122 | + 'behavior' => [ |
|
1123 | + 'id' => 91, |
|
1124 | + 'name' => 'feeling grandiose (superior]', |
|
1125 | + 'category_id' => 5, |
|
1126 | + ], |
|
1127 | + ], |
|
1128 | + 77 => [ |
|
1129 | + 'id' => 691, |
|
1130 | + 'user_id' => 2, |
|
1131 | + 'behavior_id' => 92, |
|
1132 | + 'date' => '2016-08-04 05:57:53', |
|
1133 | + 'behavior' => [ |
|
1134 | + 'id' => 92, |
|
1135 | + 'name' => 'intimidation', |
|
1136 | + 'category_id' => 5, |
|
1137 | + ], |
|
1138 | + ], |
|
1139 | + 78 => [ |
|
1140 | + 'id' => 692, |
|
1141 | + 'user_id' => 2, |
|
1142 | + 'behavior_id' => 93, |
|
1143 | + 'date' => '2016-08-04 05:57:53', |
|
1144 | + 'behavior' => [ |
|
1145 | + 'id' => 93, |
|
1146 | + 'name' => 'feeling aggressive', |
|
1147 | + 'category_id' => 5, |
|
1148 | + ], |
|
1149 | + ], |
|
1150 | + 79 => [ |
|
1151 | + 'id' => 693, |
|
1152 | + 'user_id' => 2, |
|
1153 | + 'behavior_id' => 70, |
|
1154 | + 'date' => '2016-08-04 05:57:53', |
|
1155 | + 'behavior' => [ |
|
1156 | + 'id' => 70, |
|
1157 | + 'name' => 'procrastination causing crises in money, work, or relationships', |
|
1158 | + 'category_id' => 5, |
|
1159 | + ], |
|
1160 | + ], |
|
1161 | + 80 => [ |
|
1162 | + 'id' => 694, |
|
1163 | + 'user_id' => 2, |
|
1164 | + 'behavior_id' => 82, |
|
1165 | + 'date' => '2016-08-04 05:57:53', |
|
1166 | + 'behavior' => [ |
|
1167 | + 'id' => 82, |
|
1168 | + 'name' => 'irrationality', |
|
1169 | + 'category_id' => 5, |
|
1170 | + ], |
|
1171 | + ], |
|
1172 | + 81 => [ |
|
1173 | + 'id' => 695, |
|
1174 | + 'user_id' => 2, |
|
1175 | + 'behavior_id' => 94, |
|
1176 | + 'date' => '2016-08-04 05:57:53', |
|
1177 | + 'behavior' => [ |
|
1178 | + 'id' => 94, |
|
1179 | + 'name' => 'depressed', |
|
1180 | + 'category_id' => 6, |
|
1181 | + ], |
|
1182 | + ], |
|
1183 | + 82 => [ |
|
1184 | + 'id' => 696, |
|
1185 | + 'user_id' => 2, |
|
1186 | + 'behavior_id' => 95, |
|
1187 | + 'date' => '2016-08-04 05:57:53', |
|
1188 | + 'behavior' => [ |
|
1189 | + 'id' => 95, |
|
1190 | + 'name' => 'panicked', |
|
1191 | + 'category_id' => 6, |
|
1192 | + ], |
|
1193 | + ], |
|
1194 | + 83 => [ |
|
1195 | + 'id' => 697, |
|
1196 | + 'user_id' => 2, |
|
1197 | + 'behavior_id' => 96, |
|
1198 | + 'date' => '2016-08-04 05:57:53', |
|
1199 | + 'behavior' => [ |
|
1200 | + 'id' => 96, |
|
1201 | + 'name' => 'confused', |
|
1202 | + 'category_id' => 6, |
|
1203 | + ], |
|
1204 | + ], |
|
1205 | + 84 => [ |
|
1206 | + 'id' => 698, |
|
1207 | + 'user_id' => 2, |
|
1208 | + 'behavior_id' => 97, |
|
1209 | + 'date' => '2016-08-04 05:57:53', |
|
1210 | + 'behavior' => [ |
|
1211 | + 'id' => 97, |
|
1212 | + 'name' => 'hopeless', |
|
1213 | + 'category_id' => 6, |
|
1214 | + ], |
|
1215 | + ], |
|
1216 | + 85 => [ |
|
1217 | + 'id' => 699, |
|
1218 | + 'user_id' => 2, |
|
1219 | + 'behavior_id' => 98, |
|
1220 | + 'date' => '2016-08-04 05:57:53', |
|
1221 | + 'behavior' => [ |
|
1222 | + 'id' => 98, |
|
1223 | + 'name' => 'sleeping too much or too little', |
|
1224 | + 'category_id' => 6, |
|
1225 | + ], |
|
1226 | + ], |
|
1227 | + 86 => [ |
|
1228 | + 'id' => 700, |
|
1229 | + 'user_id' => 2, |
|
1230 | + 'behavior_id' => 99, |
|
1231 | + 'date' => '2016-08-04 05:57:53', |
|
1232 | + 'behavior' => [ |
|
1233 | + 'id' => 99, |
|
1234 | + 'name' => 'can\'t cope', |
|
1235 | + 'category_id' => 6, |
|
1236 | + ], |
|
1237 | + ], |
|
1238 | + 87 => [ |
|
1239 | + 'id' => 701, |
|
1240 | + 'user_id' => 2, |
|
1241 | + 'behavior_id' => 100, |
|
1242 | + 'date' => '2016-08-04 05:57:53', |
|
1243 | + 'behavior' => [ |
|
1244 | + 'id' => 100, |
|
1245 | + 'name' => 'overwhelmed', |
|
1246 | + 'category_id' => 6, |
|
1247 | + ], |
|
1248 | + ], |
|
1249 | + 88 => [ |
|
1250 | + 'id' => 702, |
|
1251 | + 'user_id' => 2, |
|
1252 | + 'behavior_id' => 101, |
|
1253 | + 'date' => '2016-08-04 05:57:53', |
|
1254 | + 'behavior' => [ |
|
1255 | + 'id' => 101, |
|
1256 | + 'name' => 'crying for "no reason"', |
|
1257 | + 'category_id' => 6, |
|
1258 | + ], |
|
1259 | + ], |
|
1260 | + 89 => [ |
|
1261 | + 'id' => 703, |
|
1262 | + 'user_id' => 2, |
|
1263 | + 'behavior_id' => 102, |
|
1264 | + 'date' => '2016-08-04 05:57:53', |
|
1265 | + 'behavior' => [ |
|
1266 | + 'id' => 102, |
|
1267 | + 'name' => 'can\'t think', |
|
1268 | + 'category_id' => 6, |
|
1269 | + ], |
|
1270 | + ], |
|
1271 | + 90 => [ |
|
1272 | + 'id' => 704, |
|
1273 | + 'user_id' => 2, |
|
1274 | + 'behavior_id' => 103, |
|
1275 | + 'date' => '2016-08-04 05:57:53', |
|
1276 | + 'behavior' => [ |
|
1277 | + 'id' => 103, |
|
1278 | + 'name' => 'forgetful', |
|
1279 | + 'category_id' => 6, |
|
1280 | + ], |
|
1281 | + ], |
|
1282 | + 91 => [ |
|
1283 | + 'id' => 705, |
|
1284 | + 'user_id' => 2, |
|
1285 | + 'behavior_id' => 104, |
|
1286 | + 'date' => '2016-08-04 05:57:53', |
|
1287 | + 'behavior' => [ |
|
1288 | + 'id' => 104, |
|
1289 | + 'name' => 'pessimistic', |
|
1290 | + 'category_id' => 6, |
|
1291 | + ], |
|
1292 | + ], |
|
1293 | + 92 => [ |
|
1294 | + 'id' => 706, |
|
1295 | + 'user_id' => 2, |
|
1296 | + 'behavior_id' => 105, |
|
1297 | + 'date' => '2016-08-04 05:57:53', |
|
1298 | + 'behavior' => [ |
|
1299 | + 'id' => 105, |
|
1300 | + 'name' => 'helpless', |
|
1301 | + 'category_id' => 6, |
|
1302 | + ], |
|
1303 | + ], |
|
1304 | + 93 => [ |
|
1305 | + 'id' => 707, |
|
1306 | + 'user_id' => 2, |
|
1307 | + 'behavior_id' => 106, |
|
1308 | + 'date' => '2016-08-04 05:57:53', |
|
1309 | + 'behavior' => [ |
|
1310 | + 'id' => 106, |
|
1311 | + 'name' => 'tired', |
|
1312 | + 'category_id' => 6, |
|
1313 | + ], |
|
1314 | + ], |
|
1315 | + 94 => [ |
|
1316 | + 'id' => 708, |
|
1317 | + 'user_id' => 2, |
|
1318 | + 'behavior_id' => 107, |
|
1319 | + 'date' => '2016-08-04 05:57:53', |
|
1320 | + 'behavior' => [ |
|
1321 | + 'id' => 107, |
|
1322 | + 'name' => 'numb', |
|
1323 | + 'category_id' => 6, |
|
1324 | + ], |
|
1325 | + ], |
|
1326 | + 95 => [ |
|
1327 | + 'id' => 709, |
|
1328 | + 'user_id' => 2, |
|
1329 | + 'behavior_id' => 108, |
|
1330 | + 'date' => '2016-08-04 05:57:53', |
|
1331 | + 'behavior' => [ |
|
1332 | + 'id' => 108, |
|
1333 | + 'name' => 'wanting to run', |
|
1334 | + 'category_id' => 6, |
|
1335 | + ], |
|
1336 | + ], |
|
1337 | + 96 => [ |
|
1338 | + 'id' => 710, |
|
1339 | + 'user_id' => 2, |
|
1340 | + 'behavior_id' => 109, |
|
1341 | + 'date' => '2016-08-04 05:57:53', |
|
1342 | + 'behavior' => [ |
|
1343 | + 'id' => 109, |
|
1344 | + 'name' => 'constant cravings for old coping behaviors', |
|
1345 | + 'category_id' => 6, |
|
1346 | + ], |
|
1347 | + ], |
|
1348 | + 97 => [ |
|
1349 | + 'id' => 711, |
|
1350 | + 'user_id' => 2, |
|
1351 | + 'behavior_id' => 110, |
|
1352 | + 'date' => '2016-08-04 05:57:53', |
|
1353 | + 'behavior' => [ |
|
1354 | + 'id' => 110, |
|
1355 | + 'name' => 'thinking of using drugs and alcohol', |
|
1356 | + 'category_id' => 6, |
|
1357 | + ], |
|
1358 | + ], |
|
1359 | + 98 => [ |
|
1360 | + 'id' => 712, |
|
1361 | + 'user_id' => 2, |
|
1362 | + 'behavior_id' => 111, |
|
1363 | + 'date' => '2016-08-04 05:57:53', |
|
1364 | + 'behavior' => [ |
|
1365 | + 'id' => 111, |
|
1366 | + 'name' => 'seeking out old unhealthy people and places', |
|
1367 | + 'category_id' => 6, |
|
1368 | + ], |
|
1369 | + ], |
|
1370 | + 99 => [ |
|
1371 | + 'id' => 713, |
|
1372 | + 'user_id' => 2, |
|
1373 | + 'behavior_id' => 112, |
|
1374 | + 'date' => '2016-08-04 05:57:53', |
|
1375 | + 'behavior' => [ |
|
1376 | + 'id' => 112, |
|
1377 | + 'name' => 'really isolated', |
|
1378 | + 'category_id' => 6, |
|
1379 | + ], |
|
1380 | + ], |
|
1381 | + 100 => [ |
|
1382 | + 'id' => 714, |
|
1383 | + 'user_id' => 2, |
|
1384 | + 'behavior_id' => 113, |
|
1385 | + 'date' => '2016-08-04 05:57:53', |
|
1386 | + 'behavior' => [ |
|
1387 | + 'id' => 113, |
|
1388 | + 'name' => 'people are angry with you', |
|
1389 | + 'category_id' => 6, |
|
1390 | + ], |
|
1391 | + ], |
|
1392 | + 101 => [ |
|
1393 | + 'id' => 715, |
|
1394 | + 'user_id' => 2, |
|
1395 | + 'behavior_id' => 114, |
|
1396 | + 'date' => '2016-08-04 05:57:53', |
|
1397 | + 'behavior' => [ |
|
1398 | + 'id' => 114, |
|
1399 | + 'name' => 'self-abuse', |
|
1400 | + 'category_id' => 6, |
|
1401 | + ], |
|
1402 | + ], |
|
1403 | + 102 => [ |
|
1404 | + 'id' => 716, |
|
1405 | + 'user_id' => 2, |
|
1406 | + 'behavior_id' => 115, |
|
1407 | + 'date' => '2016-08-04 05:57:53', |
|
1408 | + 'behavior' => [ |
|
1409 | + 'id' => 115, |
|
1410 | + 'name' => 'suicidal thoughts', |
|
1411 | + 'category_id' => 6, |
|
1412 | + ], |
|
1413 | + ], |
|
1414 | + 103 => [ |
|
1415 | + 'id' => 717, |
|
1416 | + 'user_id' => 2, |
|
1417 | + 'behavior_id' => 116, |
|
1418 | + 'date' => '2016-08-04 05:57:53', |
|
1419 | + 'behavior' => [ |
|
1420 | + 'id' => 116, |
|
1421 | + 'name' => 'no goals', |
|
1422 | + 'category_id' => 6, |
|
1423 | + ], |
|
1424 | + ], |
|
1425 | + 104 => [ |
|
1426 | + 'id' => 718, |
|
1427 | + 'user_id' => 2, |
|
1428 | + 'behavior_id' => 117, |
|
1429 | + 'date' => '2016-08-04 05:57:53', |
|
1430 | + 'behavior' => [ |
|
1431 | + 'id' => 117, |
|
1432 | + 'name' => 'survival mode', |
|
1433 | + 'category_id' => 6, |
|
1434 | + ], |
|
1435 | + ], |
|
1436 | + 105 => [ |
|
1437 | + 'id' => 719, |
|
1438 | + 'user_id' => 2, |
|
1439 | + 'behavior_id' => 118, |
|
1440 | + 'date' => '2016-08-04 05:57:53', |
|
1441 | + 'behavior' => [ |
|
1442 | + 'id' => 118, |
|
1443 | + 'name' => 'not returning phone calls', |
|
1444 | + 'category_id' => 6, |
|
1445 | + ], |
|
1446 | + ], |
|
1447 | + 106 => [ |
|
1448 | + 'id' => 720, |
|
1449 | + 'user_id' => 2, |
|
1450 | + 'behavior_id' => 119, |
|
1451 | + 'date' => '2016-08-04 05:57:53', |
|
1452 | + 'behavior' => [ |
|
1453 | + 'id' => 119, |
|
1454 | + 'name' => 'missing work', |
|
1455 | + 'category_id' => 6, |
|
1456 | + ], |
|
1457 | + ], |
|
1458 | + 107 => [ |
|
1459 | + 'id' => 721, |
|
1460 | + 'user_id' => 2, |
|
1461 | + 'behavior_id' => 120, |
|
1462 | + 'date' => '2016-08-04 05:57:53', |
|
1463 | + 'behavior' => [ |
|
1464 | + 'id' => 120, |
|
1465 | + 'name' => 'irritability', |
|
1466 | + 'category_id' => 6, |
|
1467 | + ], |
|
1468 | + ], |
|
1469 | + 108 => [ |
|
1470 | + 'id' => 722, |
|
1471 | + 'user_id' => 2, |
|
1472 | + 'behavior_id' => 121, |
|
1473 | + 'date' => '2016-08-04 05:57:53', |
|
1474 | + 'behavior' => [ |
|
1475 | + 'id' => 121, |
|
1476 | + 'name' => 'loss of appetite', |
|
1477 | + 'category_id' => 6, |
|
1478 | + ], |
|
1479 | + ], |
|
1480 | + 109 => [ |
|
1481 | + 'id' => 723, |
|
1482 | + 'user_id' => 2, |
|
1483 | + 'behavior_id' => 122, |
|
1484 | + 'date' => '2016-08-04 05:57:53', |
|
1485 | + 'behavior' => [ |
|
1486 | + 'id' => 122, |
|
1487 | + 'name' => 'returning to the place you swore you would never go again', |
|
1488 | + 'category_id' => 7, |
|
1489 | + ], |
|
1490 | + ], |
|
1491 | + 110 => [ |
|
1492 | + 'id' => 724, |
|
1493 | + 'user_id' => 2, |
|
1494 | + 'behavior_id' => 123, |
|
1495 | + 'date' => '2016-08-04 05:57:53', |
|
1496 | + 'behavior' => [ |
|
1497 | + 'id' => 123, |
|
1498 | + 'name' => 'giving up', |
|
1499 | + 'category_id' => 7, |
|
1500 | + ], |
|
1501 | + ], |
|
1502 | + 111 => [ |
|
1503 | + 'id' => 725, |
|
1504 | + 'user_id' => 2, |
|
1505 | + 'behavior_id' => 124, |
|
1506 | + 'date' => '2016-08-04 05:57:53', |
|
1507 | + 'behavior' => [ |
|
1508 | + 'id' => 124, |
|
1509 | + 'name' => 'giving in', |
|
1510 | + 'category_id' => 7, |
|
1511 | + ], |
|
1512 | + ], |
|
1513 | + 112 => [ |
|
1514 | + 'id' => 726, |
|
1515 | + 'user_id' => 2, |
|
1516 | + 'behavior_id' => 125, |
|
1517 | + 'date' => '2016-08-04 05:57:53', |
|
1518 | + 'behavior' => [ |
|
1519 | + 'id' => 125, |
|
1520 | + 'name' => 'out of control', |
|
1521 | + 'category_id' => 7, |
|
1522 | + ], |
|
1523 | + ], |
|
1524 | + 113 => [ |
|
1525 | + 'id' => 727, |
|
1526 | + 'user_id' => 2, |
|
1527 | + 'behavior_id' => 126, |
|
1528 | + 'date' => '2016-08-04 05:57:53', |
|
1529 | + 'behavior' => [ |
|
1530 | + 'id' => 126, |
|
1531 | + 'name' => 'lost in your addiction', |
|
1532 | + 'category_id' => 7, |
|
1533 | + ], |
|
1534 | + ], |
|
1535 | + 114 => [ |
|
1536 | + 'id' => 728, |
|
1537 | + 'user_id' => 2, |
|
1538 | + 'behavior_id' => 127, |
|
1539 | + 'date' => '2016-08-04 05:57:53', |
|
1540 | + 'behavior' => [ |
|
1541 | + 'id' => 127, |
|
1542 | + 'name' => 'lying to yourself and others', |
|
1543 | + 'category_id' => 7, |
|
1544 | + ], |
|
1545 | + ], |
|
1546 | + 115 => [ |
|
1547 | + 'id' => 729, |
|
1548 | + 'user_id' => 2, |
|
1549 | + 'behavior_id' => 128, |
|
1550 | + 'date' => '2016-08-04 05:57:53', |
|
1551 | + 'behavior' => [ |
|
1552 | + 'id' => 128, |
|
1553 | + 'name' => 'feeling you just can\'t manage without your coping behavior, at least for now', |
|
1554 | + 'category_id' => 7, |
|
1555 | + ], |
|
1556 | + ], |
|
1557 | + 116 => [ |
|
1558 | + 'id' => 730, |
|
1559 | + 'user_id' => 2, |
|
1560 | + 'behavior_id' => 129, |
|
1561 | + 'date' => '2016-08-04 05:57:53', |
|
1562 | + 'behavior' => [ |
|
1563 | + 'id' => 129, |
|
1564 | + 'name' => 'shame', |
|
1565 | + 'category_id' => 7, |
|
1566 | + ], |
|
1567 | + ], |
|
1568 | + 117 => [ |
|
1569 | + 'id' => 731, |
|
1570 | + 'user_id' => 2, |
|
1571 | + 'behavior_id' => 130, |
|
1572 | + 'date' => '2016-08-04 05:57:53', |
|
1573 | + 'behavior' => [ |
|
1574 | + 'id' => 130, |
|
1575 | + 'name' => 'condemnation', |
|
1576 | + 'category_id' => 7, |
|
1577 | + ], |
|
1578 | + ], |
|
1579 | + 118 => [ |
|
1580 | + 'id' => 732, |
|
1581 | + 'user_id' => 2, |
|
1582 | + 'behavior_id' => 131, |
|
1583 | + 'date' => '2016-08-04 05:57:53', |
|
1584 | + 'behavior' => [ |
|
1585 | + 'id' => 131, |
|
1586 | + 'name' => 'guilt', |
|
1587 | + 'category_id' => 7, |
|
1588 | + ], |
|
1589 | + ], |
|
1590 | + 119 => [ |
|
1591 | + 'id' => 733, |
|
1592 | + 'user_id' => 2, |
|
1593 | + 'behavior_id' => 132, |
|
1594 | + 'date' => '2016-08-04 05:57:53', |
|
1595 | + 'behavior' => [ |
|
1596 | + 'id' => 132, |
|
1597 | + 'name' => 'aloneness', |
|
1598 | + 'category_id' => 7, |
|
1599 | + ], |
|
1600 | + ], |
|
1601 | + ]; |
|
1602 | 1602 | |
1603 | 1603 | $multipleDates = [ |
1604 | 1604 | 0 => [ |
@@ -3994,6 +3994,6 @@ discard block |
||
3994 | 3994 | 'categories' => $categories, |
3995 | 3995 | 'singleBhvr' => $singleBhvr, |
3996 | 3996 | 'manyBhvrs' => $manyBhvrs, |
3997 | - 'allBhvrs' => $allBhvrs, |
|
3997 | + 'allBhvrs' => $allBhvrs, |
|
3998 | 3998 | 'multipleDates' => $multipleDates |
3999 | 3999 | ]; |
@@ -1610,8 +1610,8 @@ discard block |
||
1610 | 1610 | 'id' => 8, |
1611 | 1611 | 'name' => 'reaching out to others', |
1612 | 1612 | 'category_id' => 1, |
1613 | - ] , |
|
1614 | - ] , |
|
1613 | + ], |
|
1614 | + ], |
|
1615 | 1615 | 1 => [ |
1616 | 1616 | 'id' => 446, |
1617 | 1617 | 'user_id' => 2, |
@@ -1621,8 +1621,8 @@ discard block |
||
1621 | 1621 | 'id' => 13, |
1622 | 1622 | 'name' => 'less time/energy for God, meetings, and church', |
1623 | 1623 | 'category_id' => 2, |
1624 | - ] , |
|
1625 | - ] , |
|
1624 | + ], |
|
1625 | + ], |
|
1626 | 1626 | 2 => [ |
1627 | 1627 | 'id' => 447, |
1628 | 1628 | 'user_id' => 2, |
@@ -1632,8 +1632,8 @@ discard block |
||
1632 | 1632 | 'id' => 18, |
1633 | 1633 | 'name' => 'changes in goals', |
1634 | 1634 | 'category_id' => 2, |
1635 | - ] , |
|
1636 | - ] , |
|
1635 | + ], |
|
1636 | + ], |
|
1637 | 1637 | 3 => [ |
1638 | 1638 | 'id' => 452, |
1639 | 1639 | 'user_id' => 2, |
@@ -1643,8 +1643,8 @@ discard block |
||
1643 | 1643 | 'id' => 13, |
1644 | 1644 | 'name' => 'less time/energy for God, meetings, and church', |
1645 | 1645 | 'category_id' => 2, |
1646 | - ] , |
|
1647 | - ] , |
|
1646 | + ], |
|
1647 | + ], |
|
1648 | 1648 | 4 => [ |
1649 | 1649 | 'id' => 453, |
1650 | 1650 | 'user_id' => 2, |
@@ -1654,8 +1654,8 @@ discard block |
||
1654 | 1654 | 'id' => 18, |
1655 | 1655 | 'name' => 'changes in goals', |
1656 | 1656 | 'category_id' => 2, |
1657 | - ] , |
|
1658 | - ] , |
|
1657 | + ], |
|
1658 | + ], |
|
1659 | 1659 | 5 => [ |
1660 | 1660 | 'id' => 451, |
1661 | 1661 | 'user_id' => 2, |
@@ -1665,8 +1665,8 @@ discard block |
||
1665 | 1665 | 'id' => 7, |
1666 | 1666 | 'name' => 'making eye contact', |
1667 | 1667 | 'category_id' => 1, |
1668 | - ] , |
|
1669 | - ] , |
|
1668 | + ], |
|
1669 | + ], |
|
1670 | 1670 | 6 => [ |
1671 | 1671 | 'id' => 553, |
1672 | 1672 | 'user_id' => 2, |
@@ -1676,8 +1676,8 @@ discard block |
||
1676 | 1676 | 'id' => 49, |
1677 | 1677 | 'name' => 'can\'t relax', |
1678 | 1678 | 'category_id' => 4, |
1679 | - ] , |
|
1680 | - ] , |
|
1679 | + ], |
|
1680 | + ], |
|
1681 | 1681 | 7 => [ |
1682 | 1682 | 'id' => 554, |
1683 | 1683 | 'user_id' => 2, |
@@ -1687,8 +1687,8 @@ discard block |
||
1687 | 1687 | 'id' => 56, |
1688 | 1688 | 'name' => 'binge eating (usually at night]', |
1689 | 1689 | 'category_id' => 4, |
1690 | - ] , |
|
1691 | - ] , |
|
1690 | + ], |
|
1691 | + ], |
|
1692 | 1692 | 8 => [ |
1693 | 1693 | 'id' => 555, |
1694 | 1694 | 'user_id' => 2, |
@@ -1698,8 +1698,8 @@ discard block |
||
1698 | 1698 | 'id' => 58, |
1699 | 1699 | 'name' => 'can\'t identify own feelings/needs', |
1700 | 1700 | 'category_id' => 4, |
1701 | - ] , |
|
1702 | - ] , |
|
1701 | + ], |
|
1702 | + ], |
|
1703 | 1703 | 9 => [ |
1704 | 1704 | 'id' => 556, |
1705 | 1705 | 'user_id' => 2, |
@@ -1709,8 +1709,8 @@ discard block |
||
1709 | 1709 | 'id' => 60, |
1710 | 1710 | 'name' => 'irritable', |
1711 | 1711 | 'category_id' => 4, |
1712 | - ] , |
|
1713 | - ] , |
|
1712 | + ], |
|
1713 | + ], |
|
1714 | 1714 | 10 => [ |
1715 | 1715 | 'id' => 557, |
1716 | 1716 | 'user_id' => 2, |
@@ -1720,8 +1720,8 @@ discard block |
||
1720 | 1720 | 'id' => 61, |
1721 | 1721 | 'name' => 'making excuses for "having to do it all"', |
1722 | 1722 | 'category_id' => 4, |
1723 | - ] , |
|
1724 | - ] , |
|
1723 | + ], |
|
1724 | + ], |
|
1725 | 1725 | 11 => [ |
1726 | 1726 | 'id' => 558, |
1727 | 1727 | 'user_id' => 2, |
@@ -1731,8 +1731,8 @@ discard block |
||
1731 | 1731 | 'id' => 62, |
1732 | 1732 | 'name' => 'dramatic mood swings', |
1733 | 1733 | 'category_id' => 4, |
1734 | - ] , |
|
1735 | - ] , |
|
1734 | + ], |
|
1735 | + ], |
|
1736 | 1736 | 12 => [ |
1737 | 1737 | 'id' => 559, |
1738 | 1738 | 'user_id' => 2, |
@@ -1742,8 +1742,8 @@ discard block |
||
1742 | 1742 | 'id' => 64, |
1743 | 1743 | 'name' => 'too much caffeine', |
1744 | 1744 | 'category_id' => 4, |
1745 | - ] , |
|
1746 | - ] , |
|
1745 | + ], |
|
1746 | + ], |
|
1747 | 1747 | 13 => [ |
1748 | 1748 | 'id' => 560, |
1749 | 1749 | 'user_id' => 2, |
@@ -1753,8 +1753,8 @@ discard block |
||
1753 | 1753 | 'id' => 67, |
1754 | 1754 | 'name' => 'difficulty being alone or with people', |
1755 | 1755 | 'category_id' => 4, |
1756 | - ] , |
|
1757 | - ] , |
|
1756 | + ], |
|
1757 | + ], |
|
1758 | 1758 | 14 => [ |
1759 | 1759 | 'id' => 561, |
1760 | 1760 | 'user_id' => 2, |
@@ -1764,8 +1764,8 @@ discard block |
||
1764 | 1764 | 'id' => 68, |
1765 | 1765 | 'name' => 'difficulty listening to others', |
1766 | 1766 | 'category_id' => 4, |
1767 | - ] , |
|
1768 | - ] , |
|
1767 | + ], |
|
1768 | + ], |
|
1769 | 1769 | 15 => [ |
1770 | 1770 | 'id' => 562, |
1771 | 1771 | 'user_id' => 2, |
@@ -1775,8 +1775,8 @@ discard block |
||
1775 | 1775 | 'id' => 71, |
1776 | 1776 | 'name' => 'sarcasm', |
1777 | 1777 | 'category_id' => 5, |
1778 | - ] , |
|
1779 | - ] , |
|
1778 | + ], |
|
1779 | + ], |
|
1780 | 1780 | 16 => [ |
1781 | 1781 | 'id' => 563, |
1782 | 1782 | 'user_id' => 2, |
@@ -1786,8 +1786,8 @@ discard block |
||
1786 | 1786 | 'id' => 72, |
1787 | 1787 | 'name' => 'black and white, all or nothing thinking', |
1788 | 1788 | 'category_id' => 5, |
1789 | - ] , |
|
1790 | - ] , |
|
1789 | + ], |
|
1790 | + ], |
|
1791 | 1791 | 17 => [ |
1792 | 1792 | 'id' => 564, |
1793 | 1793 | 'user_id' => 2, |
@@ -1797,8 +1797,8 @@ discard block |
||
1797 | 1797 | 'id' => 73, |
1798 | 1798 | 'name' => 'feeling that no one understands', |
1799 | 1799 | 'category_id' => 5, |
1800 | - ] , |
|
1801 | - ] , |
|
1800 | + ], |
|
1801 | + ], |
|
1802 | 1802 | 18 => [ |
1803 | 1803 | 'id' => 565, |
1804 | 1804 | 'user_id' => 2, |
@@ -1808,8 +1808,8 @@ discard block |
||
1808 | 1808 | 'id' => 74, |
1809 | 1809 | 'name' => 'overreacting', |
1810 | 1810 | 'category_id' => 5, |
1811 | - ] , |
|
1812 | - ] , |
|
1811 | + ], |
|
1812 | + ], |
|
1813 | 1813 | 19 => [ |
1814 | 1814 | 'id' => 566, |
1815 | 1815 | 'user_id' => 2, |
@@ -1819,8 +1819,8 @@ discard block |
||
1819 | 1819 | 'id' => 75, |
1820 | 1820 | 'name' => 'road rage', |
1821 | 1821 | 'category_id' => 5, |
1822 | - ] , |
|
1823 | - ] , |
|
1822 | + ], |
|
1823 | + ], |
|
1824 | 1824 | 20 => [ |
1825 | 1825 | 'id' => 567, |
1826 | 1826 | 'user_id' => 2, |
@@ -1830,8 +1830,8 @@ discard block |
||
1830 | 1830 | 'id' => 76, |
1831 | 1831 | 'name' => 'constant resentments', |
1832 | 1832 | 'category_id' => 5, |
1833 | - ] , |
|
1834 | - ] , |
|
1833 | + ], |
|
1834 | + ], |
|
1835 | 1835 | 21 => [ |
1836 | 1836 | 'id' => 568, |
1837 | 1837 | 'user_id' => 2, |
@@ -1841,8 +1841,8 @@ discard block |
||
1841 | 1841 | 'id' => 78, |
1842 | 1842 | 'name' => 'increased isolation', |
1843 | 1843 | 'category_id' => 5, |
1844 | - ] , |
|
1845 | - ] , |
|
1844 | + ], |
|
1845 | + ], |
|
1846 | 1846 | 22 => [ |
1847 | 1847 | 'id' => 569, |
1848 | 1848 | 'user_id' => 2, |
@@ -1852,8 +1852,8 @@ discard block |
||
1852 | 1852 | 'id' => 79, |
1853 | 1853 | 'name' => 'blaming', |
1854 | 1854 | 'category_id' => 5, |
1855 | - ] , |
|
1856 | - ] , |
|
1855 | + ], |
|
1856 | + ], |
|
1857 | 1857 | 23 => [ |
1858 | 1858 | 'id' => 570, |
1859 | 1859 | 'user_id' => 2, |
@@ -1863,8 +1863,8 @@ discard block |
||
1863 | 1863 | 'id' => 80, |
1864 | 1864 | 'name' => 'self pity', |
1865 | 1865 | 'category_id' => 5, |
1866 | - ] , |
|
1867 | - ] , |
|
1866 | + ], |
|
1867 | + ], |
|
1868 | 1868 | 24 => [ |
1869 | 1869 | 'id' => 571, |
1870 | 1870 | 'user_id' => 2, |
@@ -1874,8 +1874,8 @@ discard block |
||
1874 | 1874 | 'id' => 81, |
1875 | 1875 | 'name' => 'arguing', |
1876 | 1876 | 'category_id' => 5, |
1877 | - ] , |
|
1878 | - ] , |
|
1877 | + ], |
|
1878 | + ], |
|
1879 | 1879 | 25 => [ |
1880 | 1880 | 'id' => 572, |
1881 | 1881 | 'user_id' => 2, |
@@ -1885,8 +1885,8 @@ discard block |
||
1885 | 1885 | 'id' => 83, |
1886 | 1886 | 'name' => 'can\'t handle criticism', |
1887 | 1887 | 'category_id' => 5, |
1888 | - ] , |
|
1889 | - ] , |
|
1888 | + ], |
|
1889 | + ], |
|
1890 | 1890 | 26 => [ |
1891 | 1891 | 'id' => 573, |
1892 | 1892 | 'user_id' => 2, |
@@ -1896,8 +1896,8 @@ discard block |
||
1896 | 1896 | 'id' => 84, |
1897 | 1897 | 'name' => 'defensive', |
1898 | 1898 | 'category_id' => 5, |
1899 | - ] , |
|
1900 | - ] , |
|
1899 | + ], |
|
1900 | + ], |
|
1901 | 1901 | 27 => [ |
1902 | 1902 | 'id' => 574, |
1903 | 1903 | 'user_id' => 2, |
@@ -1907,8 +1907,8 @@ discard block |
||
1907 | 1907 | 'id' => 85, |
1908 | 1908 | 'name' => 'people are avoiding you', |
1909 | 1909 | 'category_id' => 5, |
1910 | - ] , |
|
1911 | - ] , |
|
1910 | + ], |
|
1911 | + ], |
|
1912 | 1912 | 28 => [ |
1913 | 1913 | 'id' => 575, |
1914 | 1914 | 'user_id' => 2, |
@@ -1918,8 +1918,8 @@ discard block |
||
1918 | 1918 | 'id' => 88, |
1919 | 1919 | 'name' => 'headaches', |
1920 | 1920 | 'category_id' => 5, |
1921 | - ] , |
|
1922 | - ] , |
|
1921 | + ], |
|
1922 | + ], |
|
1923 | 1923 | 29 => [ |
1924 | 1924 | 'id' => 576, |
1925 | 1925 | 'user_id' => 2, |
@@ -1929,8 +1929,8 @@ discard block |
||
1929 | 1929 | 'id' => 89, |
1930 | 1930 | 'name' => 'obsessive (stuck] thoughts', |
1931 | 1931 | 'category_id' => 5, |
1932 | - ] , |
|
1933 | - ] , |
|
1932 | + ], |
|
1933 | + ], |
|
1934 | 1934 | 30 => [ |
1935 | 1935 | 'id' => 577, |
1936 | 1936 | 'user_id' => 2, |
@@ -1940,8 +1940,8 @@ discard block |
||
1940 | 1940 | 'id' => 90, |
1941 | 1941 | 'name' => 'can\'t forgive', |
1942 | 1942 | 'category_id' => 5, |
1943 | - ] , |
|
1944 | - ] , |
|
1943 | + ], |
|
1944 | + ], |
|
1945 | 1945 | 31 => [ |
1946 | 1946 | 'id' => 578, |
1947 | 1947 | 'user_id' => 2, |
@@ -1951,8 +1951,8 @@ discard block |
||
1951 | 1951 | 'id' => 91, |
1952 | 1952 | 'name' => 'feeling grandiose (superior]', |
1953 | 1953 | 'category_id' => 5, |
1954 | - ] , |
|
1955 | - ] , |
|
1954 | + ], |
|
1955 | + ], |
|
1956 | 1956 | 32 => [ |
1957 | 1957 | 'id' => 579, |
1958 | 1958 | 'user_id' => 2, |
@@ -1962,8 +1962,8 @@ discard block |
||
1962 | 1962 | 'id' => 92, |
1963 | 1963 | 'name' => 'intimidation', |
1964 | 1964 | 'category_id' => 5, |
1965 | - ] , |
|
1966 | - ] , |
|
1965 | + ], |
|
1966 | + ], |
|
1967 | 1967 | 33 => [ |
1968 | 1968 | 'id' => 580, |
1969 | 1969 | 'user_id' => 2, |
@@ -1973,8 +1973,8 @@ discard block |
||
1973 | 1973 | 'id' => 93, |
1974 | 1974 | 'name' => 'feeling aggressive', |
1975 | 1975 | 'category_id' => 5, |
1976 | - ] , |
|
1977 | - ] , |
|
1976 | + ], |
|
1977 | + ], |
|
1978 | 1978 | 34 => [ |
1979 | 1979 | 'id' => 581, |
1980 | 1980 | 'user_id' => 2, |
@@ -1984,8 +1984,8 @@ discard block |
||
1984 | 1984 | 'id' => 70, |
1985 | 1985 | 'name' => 'procrastination causing crises in money, work, or relationships', |
1986 | 1986 | 'category_id' => 5, |
1987 | - ] , |
|
1988 | - ] , |
|
1987 | + ], |
|
1988 | + ], |
|
1989 | 1989 | 35 => [ |
1990 | 1990 | 'id' => 582, |
1991 | 1991 | 'user_id' => 2, |
@@ -1995,8 +1995,8 @@ discard block |
||
1995 | 1995 | 'id' => 82, |
1996 | 1996 | 'name' => 'irrationality', |
1997 | 1997 | 'category_id' => 5, |
1998 | - ] , |
|
1999 | - ] , |
|
1998 | + ], |
|
1999 | + ], |
|
2000 | 2000 | 36 => [ |
2001 | 2001 | 'id' => 583, |
2002 | 2002 | 'user_id' => 2, |
@@ -2006,8 +2006,8 @@ discard block |
||
2006 | 2006 | 'id' => 94, |
2007 | 2007 | 'name' => 'depressed', |
2008 | 2008 | 'category_id' => 6, |
2009 | - ] , |
|
2010 | - ] , |
|
2009 | + ], |
|
2010 | + ], |
|
2011 | 2011 | 37 => [ |
2012 | 2012 | 'id' => 584, |
2013 | 2013 | 'user_id' => 2, |
@@ -2017,8 +2017,8 @@ discard block |
||
2017 | 2017 | 'id' => 95, |
2018 | 2018 | 'name' => 'panicked', |
2019 | 2019 | 'category_id' => 6, |
2020 | - ] , |
|
2021 | - ] , |
|
2020 | + ], |
|
2021 | + ], |
|
2022 | 2022 | 38 => [ |
2023 | 2023 | 'id' => 585, |
2024 | 2024 | 'user_id' => 2, |
@@ -2028,8 +2028,8 @@ discard block |
||
2028 | 2028 | 'id' => 96, |
2029 | 2029 | 'name' => 'confused', |
2030 | 2030 | 'category_id' => 6, |
2031 | - ] , |
|
2032 | - ] , |
|
2031 | + ], |
|
2032 | + ], |
|
2033 | 2033 | 39 => [ |
2034 | 2034 | 'id' => 586, |
2035 | 2035 | 'user_id' => 2, |
@@ -2039,8 +2039,8 @@ discard block |
||
2039 | 2039 | 'id' => 97, |
2040 | 2040 | 'name' => 'hopeless', |
2041 | 2041 | 'category_id' => 6, |
2042 | - ] , |
|
2043 | - ] , |
|
2042 | + ], |
|
2043 | + ], |
|
2044 | 2044 | 40 => [ |
2045 | 2045 | 'id' => 587, |
2046 | 2046 | 'user_id' => 2, |
@@ -2050,8 +2050,8 @@ discard block |
||
2050 | 2050 | 'id' => 98, |
2051 | 2051 | 'name' => 'sleeping too much or too little', |
2052 | 2052 | 'category_id' => 6, |
2053 | - ] , |
|
2054 | - ] , |
|
2053 | + ], |
|
2054 | + ], |
|
2055 | 2055 | 41 => [ |
2056 | 2056 | 'id' => 588, |
2057 | 2057 | 'user_id' => 2, |
@@ -2061,8 +2061,8 @@ discard block |
||
2061 | 2061 | 'id' => 100, |
2062 | 2062 | 'name' => 'overwhelmed', |
2063 | 2063 | 'category_id' => 6, |
2064 | - ] , |
|
2065 | - ] , |
|
2064 | + ], |
|
2065 | + ], |
|
2066 | 2066 | 42 => [ |
2067 | 2067 | 'id' => 589, |
2068 | 2068 | 'user_id' => 2, |
@@ -2072,8 +2072,8 @@ discard block |
||
2072 | 2072 | 'id' => 101, |
2073 | 2073 | 'name' => 'crying for "no reason"', |
2074 | 2074 | 'category_id' => 6, |
2075 | - ] , |
|
2076 | - ] , |
|
2075 | + ], |
|
2076 | + ], |
|
2077 | 2077 | 43 => [ |
2078 | 2078 | 'id' => 590, |
2079 | 2079 | 'user_id' => 2, |
@@ -2083,8 +2083,8 @@ discard block |
||
2083 | 2083 | 'id' => 104, |
2084 | 2084 | 'name' => 'pessimistic', |
2085 | 2085 | 'category_id' => 6, |
2086 | - ] , |
|
2087 | - ] , |
|
2086 | + ], |
|
2087 | + ], |
|
2088 | 2088 | 44 => [ |
2089 | 2089 | 'id' => 591, |
2090 | 2090 | 'user_id' => 2, |
@@ -2094,8 +2094,8 @@ discard block |
||
2094 | 2094 | 'id' => 105, |
2095 | 2095 | 'name' => 'helpless', |
2096 | 2096 | 'category_id' => 6, |
2097 | - ] , |
|
2098 | - ] , |
|
2097 | + ], |
|
2098 | + ], |
|
2099 | 2099 | 45 => [ |
2100 | 2100 | 'id' => 592, |
2101 | 2101 | 'user_id' => 2, |
@@ -2105,8 +2105,8 @@ discard block |
||
2105 | 2105 | 'id' => 106, |
2106 | 2106 | 'name' => 'tired', |
2107 | 2107 | 'category_id' => 6, |
2108 | - ] , |
|
2109 | - ] , |
|
2108 | + ], |
|
2109 | + ], |
|
2110 | 2110 | 46 => [ |
2111 | 2111 | 'id' => 593, |
2112 | 2112 | 'user_id' => 2, |
@@ -2116,8 +2116,8 @@ discard block |
||
2116 | 2116 | 'id' => 108, |
2117 | 2117 | 'name' => 'wanting to run', |
2118 | 2118 | 'category_id' => 6, |
2119 | - ] , |
|
2120 | - ] , |
|
2119 | + ], |
|
2120 | + ], |
|
2121 | 2121 | 47 => [ |
2122 | 2122 | 'id' => 594, |
2123 | 2123 | 'user_id' => 2, |
@@ -2127,8 +2127,8 @@ discard block |
||
2127 | 2127 | 'id' => 109, |
2128 | 2128 | 'name' => 'constant cravings for old coping behaviors', |
2129 | 2129 | 'category_id' => 6, |
2130 | - ] , |
|
2131 | - ] , |
|
2130 | + ], |
|
2131 | + ], |
|
2132 | 2132 | 48 => [ |
2133 | 2133 | 'id' => 595, |
2134 | 2134 | 'user_id' => 2, |
@@ -2138,8 +2138,8 @@ discard block |
||
2138 | 2138 | 'id' => 110, |
2139 | 2139 | 'name' => 'thinking of using drugs and alcohol', |
2140 | 2140 | 'category_id' => 6, |
2141 | - ] , |
|
2142 | - ] , |
|
2141 | + ], |
|
2142 | + ], |
|
2143 | 2143 | 49 => [ |
2144 | 2144 | 'id' => 596, |
2145 | 2145 | 'user_id' => 2, |
@@ -2149,8 +2149,8 @@ discard block |
||
2149 | 2149 | 'id' => 111, |
2150 | 2150 | 'name' => 'seeking out old unhealthy people and places', |
2151 | 2151 | 'category_id' => 6, |
2152 | - ] , |
|
2153 | - ] , |
|
2152 | + ], |
|
2153 | + ], |
|
2154 | 2154 | 50 => [ |
2155 | 2155 | 'id' => 597, |
2156 | 2156 | 'user_id' => 2, |
@@ -2160,8 +2160,8 @@ discard block |
||
2160 | 2160 | 'id' => 112, |
2161 | 2161 | 'name' => 'really isolated', |
2162 | 2162 | 'category_id' => 6, |
2163 | - ] , |
|
2164 | - ] , |
|
2163 | + ], |
|
2164 | + ], |
|
2165 | 2165 | 51 => [ |
2166 | 2166 | 'id' => 598, |
2167 | 2167 | 'user_id' => 2, |
@@ -2171,8 +2171,8 @@ discard block |
||
2171 | 2171 | 'id' => 113, |
2172 | 2172 | 'name' => 'people are angry with you', |
2173 | 2173 | 'category_id' => 6, |
2174 | - ] , |
|
2175 | - ] , |
|
2174 | + ], |
|
2175 | + ], |
|
2176 | 2176 | 52 => [ |
2177 | 2177 | 'id' => 599, |
2178 | 2178 | 'user_id' => 2, |
@@ -2182,8 +2182,8 @@ discard block |
||
2182 | 2182 | 'id' => 115, |
2183 | 2183 | 'name' => 'suicidal thoughts', |
2184 | 2184 | 'category_id' => 6, |
2185 | - ] , |
|
2186 | - ] , |
|
2185 | + ], |
|
2186 | + ], |
|
2187 | 2187 | 53 => [ |
2188 | 2188 | 'id' => 600, |
2189 | 2189 | 'user_id' => 2, |
@@ -2193,8 +2193,8 @@ discard block |
||
2193 | 2193 | 'id' => 116, |
2194 | 2194 | 'name' => 'no goals', |
2195 | 2195 | 'category_id' => 6, |
2196 | - ] , |
|
2197 | - ] , |
|
2196 | + ], |
|
2197 | + ], |
|
2198 | 2198 | 54 => [ |
2199 | 2199 | 'id' => 601, |
2200 | 2200 | 'user_id' => 2, |
@@ -2204,8 +2204,8 @@ discard block |
||
2204 | 2204 | 'id' => 119, |
2205 | 2205 | 'name' => 'missing work', |
2206 | 2206 | 'category_id' => 6, |
2207 | - ] , |
|
2208 | - ] , |
|
2207 | + ], |
|
2208 | + ], |
|
2209 | 2209 | 55 => [ |
2210 | 2210 | 'id' => 602, |
2211 | 2211 | 'user_id' => 2, |
@@ -2215,8 +2215,8 @@ discard block |
||
2215 | 2215 | 'id' => 121, |
2216 | 2216 | 'name' => 'loss of appetite', |
2217 | 2217 | 'category_id' => 6, |
2218 | - ] , |
|
2219 | - ] , |
|
2218 | + ], |
|
2219 | + ], |
|
2220 | 2220 | 56 => [ |
2221 | 2221 | 'id' => 603, |
2222 | 2222 | 'user_id' => 2, |
@@ -2226,8 +2226,8 @@ discard block |
||
2226 | 2226 | 'id' => 122, |
2227 | 2227 | 'name' => 'returning to the place you swore you would never go again', |
2228 | 2228 | 'category_id' => 7, |
2229 | - ] , |
|
2230 | - ] , |
|
2229 | + ], |
|
2230 | + ], |
|
2231 | 2231 | 57 => [ |
2232 | 2232 | 'id' => 604, |
2233 | 2233 | 'user_id' => 2, |
@@ -2237,8 +2237,8 @@ discard block |
||
2237 | 2237 | 'id' => 123, |
2238 | 2238 | 'name' => 'giving up', |
2239 | 2239 | 'category_id' => 7, |
2240 | - ] , |
|
2241 | - ] , |
|
2240 | + ], |
|
2241 | + ], |
|
2242 | 2242 | 58 => [ |
2243 | 2243 | 'id' => 605, |
2244 | 2244 | 'user_id' => 2, |
@@ -2248,8 +2248,8 @@ discard block |
||
2248 | 2248 | 'id' => 124, |
2249 | 2249 | 'name' => 'giving in', |
2250 | 2250 | 'category_id' => 7, |
2251 | - ] , |
|
2252 | - ] , |
|
2251 | + ], |
|
2252 | + ], |
|
2253 | 2253 | 59 => [ |
2254 | 2254 | 'id' => 606, |
2255 | 2255 | 'user_id' => 2, |
@@ -2259,8 +2259,8 @@ discard block |
||
2259 | 2259 | 'id' => 125, |
2260 | 2260 | 'name' => 'out of control', |
2261 | 2261 | 'category_id' => 7, |
2262 | - ] , |
|
2263 | - ] , |
|
2262 | + ], |
|
2263 | + ], |
|
2264 | 2264 | 60 => [ |
2265 | 2265 | 'id' => 607, |
2266 | 2266 | 'user_id' => 2, |
@@ -2270,8 +2270,8 @@ discard block |
||
2270 | 2270 | 'id' => 126, |
2271 | 2271 | 'name' => 'lost in your addiction', |
2272 | 2272 | 'category_id' => 7, |
2273 | - ] , |
|
2274 | - ] , |
|
2273 | + ], |
|
2274 | + ], |
|
2275 | 2275 | 61 => [ |
2276 | 2276 | 'id' => 608, |
2277 | 2277 | 'user_id' => 2, |
@@ -2281,8 +2281,8 @@ discard block |
||
2281 | 2281 | 'id' => 127, |
2282 | 2282 | 'name' => 'lying to yourself and others', |
2283 | 2283 | 'category_id' => 7, |
2284 | - ] , |
|
2285 | - ] , |
|
2284 | + ], |
|
2285 | + ], |
|
2286 | 2286 | 62 => [ |
2287 | 2287 | 'id' => 609, |
2288 | 2288 | 'user_id' => 2, |
@@ -2292,8 +2292,8 @@ discard block |
||
2292 | 2292 | 'id' => 128, |
2293 | 2293 | 'name' => 'feeling you just can\'t manage without your coping behavior, at least for now', |
2294 | 2294 | 'category_id' => 7, |
2295 | - ] , |
|
2296 | - ] , |
|
2295 | + ], |
|
2296 | + ], |
|
2297 | 2297 | 63 => [ |
2298 | 2298 | 'id' => 610, |
2299 | 2299 | 'user_id' => 2, |
@@ -2303,8 +2303,8 @@ discard block |
||
2303 | 2303 | 'id' => 129, |
2304 | 2304 | 'name' => 'shame', |
2305 | 2305 | 'category_id' => 7, |
2306 | - ] , |
|
2307 | - ] , |
|
2306 | + ], |
|
2307 | + ], |
|
2308 | 2308 | 64 => [ |
2309 | 2309 | 'id' => 611, |
2310 | 2310 | 'user_id' => 2, |
@@ -2314,8 +2314,8 @@ discard block |
||
2314 | 2314 | 'id' => 130, |
2315 | 2315 | 'name' => 'condemnation', |
2316 | 2316 | 'category_id' => 7, |
2317 | - ] , |
|
2318 | - ] , |
|
2317 | + ], |
|
2318 | + ], |
|
2319 | 2319 | 65 => [ |
2320 | 2320 | 'id' => 612, |
2321 | 2321 | 'user_id' => 2, |
@@ -2325,8 +2325,8 @@ discard block |
||
2325 | 2325 | 'id' => 131, |
2326 | 2326 | 'name' => 'guilt', |
2327 | 2327 | 'category_id' => 7, |
2328 | - ] , |
|
2329 | - ] , |
|
2328 | + ], |
|
2329 | + ], |
|
2330 | 2330 | 66 => [ |
2331 | 2331 | 'id' => 613, |
2332 | 2332 | 'user_id' => 2, |
@@ -2336,8 +2336,8 @@ discard block |
||
2336 | 2336 | 'id' => 132, |
2337 | 2337 | 'name' => 'aloneness', |
2338 | 2338 | 'category_id' => 7, |
2339 | - ] , |
|
2340 | - ] , |
|
2339 | + ], |
|
2340 | + ], |
|
2341 | 2341 | 67 => [ |
2342 | 2342 | 'id' => 524, |
2343 | 2343 | 'user_id' => 2, |
@@ -2347,8 +2347,8 @@ discard block |
||
2347 | 2347 | 'id' => 4, |
2348 | 2348 | 'name' => 'keeping commitments to meetings, prayer, family, church, people, goals, and self', |
2349 | 2349 | 'category_id' => 1, |
2350 | - ] , |
|
2351 | - ] , |
|
2350 | + ], |
|
2351 | + ], |
|
2352 | 2352 | 68 => [ |
2353 | 2353 | 'id' => 525, |
2354 | 2354 | 'user_id' => 2, |
@@ -2358,8 +2358,8 @@ discard block |
||
2358 | 2358 | 'id' => 8, |
2359 | 2359 | 'name' => 'reaching out to others', |
2360 | 2360 | 'category_id' => 1, |
2361 | - ] , |
|
2362 | - ] , |
|
2361 | + ], |
|
2362 | + ], |
|
2363 | 2363 | 69 => [ |
2364 | 2364 | 'id' => 526, |
2365 | 2365 | 'user_id' => 2, |
@@ -2369,8 +2369,8 @@ discard block |
||
2369 | 2369 | 'id' => 9, |
2370 | 2370 | 'name' => 'increasing in relationships with God and others', |
2371 | 2371 | 'category_id' => 1, |
2372 | - ] , |
|
2373 | - ] , |
|
2372 | + ], |
|
2373 | + ], |
|
2374 | 2374 | 70 => [ |
2375 | 2375 | 'id' => 527, |
2376 | 2376 | 'user_id' => 2, |
@@ -2380,8 +2380,8 @@ discard block |
||
2380 | 2380 | 'id' => 10, |
2381 | 2381 | 'name' => 'accountability', |
2382 | 2382 | 'category_id' => 1, |
2383 | - ] , |
|
2384 | - ] , |
|
2383 | + ], |
|
2384 | + ], |
|
2385 | 2385 | 71 => [ |
2386 | 2386 | 'id' => 528, |
2387 | 2387 | 'user_id' => 2, |
@@ -2391,8 +2391,8 @@ discard block |
||
2391 | 2391 | 'id' => 11, |
2392 | 2392 | 'name' => 'secrets', |
2393 | 2393 | 'category_id' => 2, |
2394 | - ] , |
|
2395 | - ] , |
|
2394 | + ], |
|
2395 | + ], |
|
2396 | 2396 | 72 => [ |
2397 | 2397 | 'id' => 529, |
2398 | 2398 | 'user_id' => 2, |
@@ -2402,8 +2402,8 @@ discard block |
||
2402 | 2402 | 'id' => 12, |
2403 | 2403 | 'name' => 'bored', |
2404 | 2404 | 'category_id' => 2, |
2405 | - ] , |
|
2406 | - ] , |
|
2405 | + ], |
|
2406 | + ], |
|
2407 | 2407 | 73 => [ |
2408 | 2408 | 'id' => 530, |
2409 | 2409 | 'user_id' => 2, |
@@ -2413,8 +2413,8 @@ discard block |
||
2413 | 2413 | 'id' => 13, |
2414 | 2414 | 'name' => 'less time/energy for God, meetings, and church', |
2415 | 2415 | 'category_id' => 2, |
2416 | - ] , |
|
2417 | - ] , |
|
2416 | + ], |
|
2417 | + ], |
|
2418 | 2418 | 74 => [ |
2419 | 2419 | 'id' => 531, |
2420 | 2420 | 'user_id' => 2, |
@@ -2424,8 +2424,8 @@ discard block |
||
2424 | 2424 | 'id' => 14, |
2425 | 2425 | 'name' => 'avoiding support and accountability towards people', |
2426 | 2426 | 'category_id' => 2, |
2427 | - ] , |
|
2428 | - ] , |
|
2427 | + ], |
|
2428 | + ], |
|
2429 | 2429 | 75 => [ |
2430 | 2430 | 'id' => 532, |
2431 | 2431 | 'user_id' => 2, |
@@ -2435,8 +2435,8 @@ discard block |
||
2435 | 2435 | 'id' => 17, |
2436 | 2436 | 'name' => 'isolating yourself', |
2437 | 2437 | 'category_id' => 2, |
2438 | - ] , |
|
2439 | - ] , |
|
2438 | + ], |
|
2439 | + ], |
|
2440 | 2440 | 76 => [ |
2441 | 2441 | 'id' => 533, |
2442 | 2442 | 'user_id' => 2, |
@@ -2446,8 +2446,8 @@ discard block |
||
2446 | 2446 | 'id' => 18, |
2447 | 2447 | 'name' => 'changes in goals', |
2448 | 2448 | 'category_id' => 2, |
2449 | - ] , |
|
2450 | - ] , |
|
2449 | + ], |
|
2450 | + ], |
|
2451 | 2451 | 77 => [ |
2452 | 2452 | 'id' => 534, |
2453 | 2453 | 'user_id' => 2, |
@@ -2457,8 +2457,8 @@ discard block |
||
2457 | 2457 | 'id' => 19, |
2458 | 2458 | 'name' => 'flirting', |
2459 | 2459 | 'category_id' => 2, |
2460 | - ] , |
|
2461 | - ] , |
|
2460 | + ], |
|
2461 | + ], |
|
2462 | 2462 | 78 => [ |
2463 | 2463 | 'id' => 535, |
2464 | 2464 | 'user_id' => 2, |
@@ -2468,8 +2468,8 @@ discard block |
||
2468 | 2468 | 'id' => 20, |
2469 | 2469 | 'name' => 'obsessed with relationships', |
2470 | 2470 | 'category_id' => 2, |
2471 | - ] , |
|
2472 | - ] , |
|
2471 | + ], |
|
2472 | + ], |
|
2473 | 2473 | 79 => [ |
2474 | 2474 | 'id' => 536, |
2475 | 2475 | 'user_id' => 2, |
@@ -2479,8 +2479,8 @@ discard block |
||
2479 | 2479 | 'id' => 21, |
2480 | 2480 | 'name' => 'breaking promises/commitments', |
2481 | 2481 | 'category_id' => 2, |
2482 | - ] , |
|
2483 | - ] , |
|
2482 | + ], |
|
2483 | + ], |
|
2484 | 2484 | 80 => [ |
2485 | 2485 | 'id' => 537, |
2486 | 2486 | 'user_id' => 2, |
@@ -2490,8 +2490,8 @@ discard block |
||
2490 | 2490 | 'id' => 23, |
2491 | 2491 | 'name' => 'preoccupation with material things, television, or entertainment', |
2492 | 2492 | 'category_id' => 2, |
2493 | - ] , |
|
2494 | - ] , |
|
2493 | + ], |
|
2494 | + ], |
|
2495 | 2495 | 81 => [ |
2496 | 2496 | 'id' => 538, |
2497 | 2497 | 'user_id' => 2, |
@@ -2501,8 +2501,8 @@ discard block |
||
2501 | 2501 | 'id' => 24, |
2502 | 2502 | 'name' => 'procrastination', |
2503 | 2503 | 'category_id' => 2, |
2504 | - ] , |
|
2505 | - ] , |
|
2504 | + ], |
|
2505 | + ], |
|
2506 | 2506 | 82 => [ |
2507 | 2507 | 'id' => 539, |
2508 | 2508 | 'user_id' => 2, |
@@ -2512,8 +2512,8 @@ discard block |
||
2512 | 2512 | 'id' => 25, |
2513 | 2513 | 'name' => 'lying', |
2514 | 2514 | 'category_id' => 2, |
2515 | - ] , |
|
2516 | - ] , |
|
2515 | + ], |
|
2516 | + ], |
|
2517 | 2517 | 83 => [ |
2518 | 2518 | 'id' => 540, |
2519 | 2519 | 'user_id' => 2, |
@@ -2523,8 +2523,8 @@ discard block |
||
2523 | 2523 | 'id' => 26, |
2524 | 2524 | 'name' => 'over-confidence', |
2525 | 2525 | 'category_id' => 2, |
2526 | - ] , |
|
2527 | - ] , |
|
2526 | + ], |
|
2527 | + ], |
|
2528 | 2528 | 84 => [ |
2529 | 2529 | 'id' => 541, |
2530 | 2530 | 'user_id' => 2, |
@@ -2534,8 +2534,8 @@ discard block |
||
2534 | 2534 | 'id' => 29, |
2535 | 2535 | 'name' => 'using profanity', |
2536 | 2536 | 'category_id' => 3, |
2537 | - ] , |
|
2538 | - ] , |
|
2537 | + ], |
|
2538 | + ], |
|
2539 | 2539 | 85 => [ |
2540 | 2540 | 'id' => 542, |
2541 | 2541 | 'user_id' => 2, |
@@ -2545,8 +2545,8 @@ discard block |
||
2545 | 2545 | 'id' => 30, |
2546 | 2546 | 'name' => 'being fearful', |
2547 | 2547 | 'category_id' => 3, |
2548 | - ] , |
|
2549 | - ] , |
|
2548 | + ], |
|
2549 | + ], |
|
2550 | 2550 | 86 => [ |
2551 | 2551 | 'id' => 543, |
2552 | 2552 | 'user_id' => 2, |
@@ -2556,8 +2556,8 @@ discard block |
||
2556 | 2556 | 'id' => 31, |
2557 | 2557 | 'name' => 'being resentful', |
2558 | 2558 | 'category_id' => 3, |
2559 | - ] , |
|
2560 | - ] , |
|
2559 | + ], |
|
2560 | + ], |
|
2561 | 2561 | 87 => [ |
2562 | 2562 | 'id' => 544, |
2563 | 2563 | 'user_id' => 2, |
@@ -2567,8 +2567,8 @@ discard block |
||
2567 | 2567 | 'id' => 32, |
2568 | 2568 | 'name' => 'replaying old, negative thoughts', |
2569 | 2569 | 'category_id' => 3, |
2570 | - ] , |
|
2571 | - ] , |
|
2570 | + ], |
|
2571 | + ], |
|
2572 | 2572 | 88 => [ |
2573 | 2573 | 'id' => 545, |
2574 | 2574 | 'user_id' => 2, |
@@ -2578,8 +2578,8 @@ discard block |
||
2578 | 2578 | 'id' => 33, |
2579 | 2579 | 'name' => 'perfectionism', |
2580 | 2580 | 'category_id' => 3, |
2581 | - ] , |
|
2582 | - ] , |
|
2581 | + ], |
|
2582 | + ], |
|
2583 | 2583 | 89 => [ |
2584 | 2584 | 'id' => 546, |
2585 | 2585 | 'user_id' => 2, |
@@ -2589,8 +2589,8 @@ discard block |
||
2589 | 2589 | 'id' => 34, |
2590 | 2590 | 'name' => 'juding others\' motives', |
2591 | 2591 | 'category_id' => 3, |
2592 | - ] , |
|
2593 | - ] , |
|
2592 | + ], |
|
2593 | + ], |
|
2594 | 2594 | 90 => [ |
2595 | 2595 | 'id' => 547, |
2596 | 2596 | 'user_id' => 2, |
@@ -2600,8 +2600,8 @@ discard block |
||
2600 | 2600 | 'id' => 41, |
2601 | 2601 | 'name' => 'co-dependent rescuing', |
2602 | 2602 | 'category_id' => 3, |
2603 | - ] , |
|
2604 | - ] , |
|
2603 | + ], |
|
2604 | + ], |
|
2605 | 2605 | 91 => [ |
2606 | 2606 | 'id' => 523, |
2607 | 2607 | 'user_id' => 2, |
@@ -2611,8 +2611,8 @@ discard block |
||
2611 | 2611 | 'id' => 2, |
2612 | 2612 | 'name' => 'resolving problems', |
2613 | 2613 | 'category_id' => 1, |
2614 | - ] , |
|
2615 | - ] , |
|
2614 | + ], |
|
2615 | + ], |
|
2616 | 2616 | 92 => [ |
2617 | 2617 | 'id' => 548, |
2618 | 2618 | 'user_id' => 2, |
@@ -2622,8 +2622,8 @@ discard block |
||
2622 | 2622 | 'id' => 42, |
2623 | 2623 | 'name' => 'sleep problems', |
2624 | 2624 | 'category_id' => 3, |
2625 | - ] , |
|
2626 | - ] , |
|
2625 | + ], |
|
2626 | + ], |
|
2627 | 2627 | 93 => [ |
2628 | 2628 | 'id' => 549, |
2629 | 2629 | 'user_id' => 2, |
@@ -2633,8 +2633,8 @@ discard block |
||
2633 | 2633 | 'id' => 43, |
2634 | 2634 | 'name' => 'trouble concentrating', |
2635 | 2635 | 'category_id' => 3, |
2636 | - ] , |
|
2637 | - ] , |
|
2636 | + ], |
|
2637 | + ], |
|
2638 | 2638 | 94 => [ |
2639 | 2639 | 'id' => 550, |
2640 | 2640 | 'user_id' => 2, |
@@ -2644,8 +2644,8 @@ discard block |
||
2644 | 2644 | 'id' => 44, |
2645 | 2645 | 'name' => 'seeking/creating drama', |
2646 | 2646 | 'category_id' => 3, |
2647 | - ] , |
|
2648 | - ] , |
|
2647 | + ], |
|
2648 | + ], |
|
2649 | 2649 | 95 => [ |
2650 | 2650 | 'id' => 551, |
2651 | 2651 | 'user_id' => 2, |
@@ -2655,8 +2655,8 @@ discard block |
||
2655 | 2655 | 'id' => 45, |
2656 | 2656 | 'name' => 'gossip', |
2657 | 2657 | 'category_id' => 3, |
2658 | - ] , |
|
2659 | - ] , |
|
2658 | + ], |
|
2659 | + ], |
|
2660 | 2660 | 96 => [ |
2661 | 2661 | 'id' => 552, |
2662 | 2662 | 'user_id' => 2, |
@@ -2666,8 +2666,8 @@ discard block |
||
2666 | 2666 | 'id' => 35, |
2667 | 2667 | 'name' => 'making goals and lists you can\'t complete', |
2668 | 2668 | 'category_id' => 3, |
2669 | - ] , |
|
2670 | - ] , |
|
2669 | + ], |
|
2670 | + ], |
|
2671 | 2671 | 97 => [ |
2672 | 2672 | 'id' => 710, |
2673 | 2673 | 'user_id' => 2, |
@@ -2677,8 +2677,8 @@ discard block |
||
2677 | 2677 | 'id' => 109, |
2678 | 2678 | 'name' => 'constant cravings for old coping behaviors', |
2679 | 2679 | 'category_id' => 6, |
2680 | - ] , |
|
2681 | - ] , |
|
2680 | + ], |
|
2681 | + ], |
|
2682 | 2682 | 98 => [ |
2683 | 2683 | 'id' => 711, |
2684 | 2684 | 'user_id' => 2, |
@@ -2688,8 +2688,8 @@ discard block |
||
2688 | 2688 | 'id' => 110, |
2689 | 2689 | 'name' => 'thinking of using drugs and alcohol', |
2690 | 2690 | 'category_id' => 6, |
2691 | - ] , |
|
2692 | - ] , |
|
2691 | + ], |
|
2692 | + ], |
|
2693 | 2693 | 99 => [ |
2694 | 2694 | 'id' => 712, |
2695 | 2695 | 'user_id' => 2, |
@@ -2699,8 +2699,8 @@ discard block |
||
2699 | 2699 | 'id' => 111, |
2700 | 2700 | 'name' => 'seeking out old unhealthy people and places', |
2701 | 2701 | 'category_id' => 6, |
2702 | - ] , |
|
2703 | - ] , |
|
2702 | + ], |
|
2703 | + ], |
|
2704 | 2704 | 100 => [ |
2705 | 2705 | 'id' => 713, |
2706 | 2706 | 'user_id' => 2, |
@@ -2710,8 +2710,8 @@ discard block |
||
2710 | 2710 | 'id' => 112, |
2711 | 2711 | 'name' => 'really isolated', |
2712 | 2712 | 'category_id' => 6, |
2713 | - ] , |
|
2714 | - ] , |
|
2713 | + ], |
|
2714 | + ], |
|
2715 | 2715 | 101 => [ |
2716 | 2716 | 'id' => 714, |
2717 | 2717 | 'user_id' => 2, |
@@ -2721,8 +2721,8 @@ discard block |
||
2721 | 2721 | 'id' => 113, |
2722 | 2722 | 'name' => 'people are angry with you', |
2723 | 2723 | 'category_id' => 6, |
2724 | - ] , |
|
2725 | - ] , |
|
2724 | + ], |
|
2725 | + ], |
|
2726 | 2726 | 102 => [ |
2727 | 2727 | 'id' => 715, |
2728 | 2728 | 'user_id' => 2, |
@@ -2732,8 +2732,8 @@ discard block |
||
2732 | 2732 | 'id' => 114, |
2733 | 2733 | 'name' => 'self-abuse', |
2734 | 2734 | 'category_id' => 6, |
2735 | - ] , |
|
2736 | - ] , |
|
2735 | + ], |
|
2736 | + ], |
|
2737 | 2737 | 103 => [ |
2738 | 2738 | 'id' => 716, |
2739 | 2739 | 'user_id' => 2, |
@@ -2743,8 +2743,8 @@ discard block |
||
2743 | 2743 | 'id' => 115, |
2744 | 2744 | 'name' => 'suicidal thoughts', |
2745 | 2745 | 'category_id' => 6, |
2746 | - ] , |
|
2747 | - ] , |
|
2746 | + ], |
|
2747 | + ], |
|
2748 | 2748 | 104 => [ |
2749 | 2749 | 'id' => 717, |
2750 | 2750 | 'user_id' => 2, |
@@ -2754,8 +2754,8 @@ discard block |
||
2754 | 2754 | 'id' => 116, |
2755 | 2755 | 'name' => 'no goals', |
2756 | 2756 | 'category_id' => 6, |
2757 | - ] , |
|
2758 | - ] , |
|
2757 | + ], |
|
2758 | + ], |
|
2759 | 2759 | 105 => [ |
2760 | 2760 | 'id' => 718, |
2761 | 2761 | 'user_id' => 2, |
@@ -2765,8 +2765,8 @@ discard block |
||
2765 | 2765 | 'id' => 117, |
2766 | 2766 | 'name' => 'survival mode', |
2767 | 2767 | 'category_id' => 6, |
2768 | - ] , |
|
2769 | - ] , |
|
2768 | + ], |
|
2769 | + ], |
|
2770 | 2770 | 106 => [ |
2771 | 2771 | 'id' => 719, |
2772 | 2772 | 'user_id' => 2, |
@@ -2776,8 +2776,8 @@ discard block |
||
2776 | 2776 | 'id' => 118, |
2777 | 2777 | 'name' => 'not returning phone calls', |
2778 | 2778 | 'category_id' => 6, |
2779 | - ] , |
|
2780 | - ] , |
|
2779 | + ], |
|
2780 | + ], |
|
2781 | 2781 | 107 => [ |
2782 | 2782 | 'id' => 720, |
2783 | 2783 | 'user_id' => 2, |
@@ -2787,8 +2787,8 @@ discard block |
||
2787 | 2787 | 'id' => 119, |
2788 | 2788 | 'name' => 'missing work', |
2789 | 2789 | 'category_id' => 6, |
2790 | - ] , |
|
2791 | - ] , |
|
2790 | + ], |
|
2791 | + ], |
|
2792 | 2792 | 108 => [ |
2793 | 2793 | 'id' => 721, |
2794 | 2794 | 'user_id' => 2, |
@@ -2798,8 +2798,8 @@ discard block |
||
2798 | 2798 | 'id' => 120, |
2799 | 2799 | 'name' => 'irritability', |
2800 | 2800 | 'category_id' => 6, |
2801 | - ] , |
|
2802 | - ] , |
|
2801 | + ], |
|
2802 | + ], |
|
2803 | 2803 | 109 => [ |
2804 | 2804 | 'id' => 722, |
2805 | 2805 | 'user_id' => 2, |
@@ -2809,8 +2809,8 @@ discard block |
||
2809 | 2809 | 'id' => 121, |
2810 | 2810 | 'name' => 'loss of appetite', |
2811 | 2811 | 'category_id' => 6, |
2812 | - ] , |
|
2813 | - ] , |
|
2812 | + ], |
|
2813 | + ], |
|
2814 | 2814 | 110 => [ |
2815 | 2815 | 'id' => 723, |
2816 | 2816 | 'user_id' => 2, |
@@ -2820,8 +2820,8 @@ discard block |
||
2820 | 2820 | 'id' => 122, |
2821 | 2821 | 'name' => 'returning to the place you swore you would never go again', |
2822 | 2822 | 'category_id' => 7, |
2823 | - ] , |
|
2824 | - ] , |
|
2823 | + ], |
|
2824 | + ], |
|
2825 | 2825 | 111 => [ |
2826 | 2826 | 'id' => 724, |
2827 | 2827 | 'user_id' => 2, |
@@ -2831,8 +2831,8 @@ discard block |
||
2831 | 2831 | 'id' => 123, |
2832 | 2832 | 'name' => 'giving up', |
2833 | 2833 | 'category_id' => 7, |
2834 | - ] , |
|
2835 | - ] , |
|
2834 | + ], |
|
2835 | + ], |
|
2836 | 2836 | 112 => [ |
2837 | 2837 | 'id' => 725, |
2838 | 2838 | 'user_id' => 2, |
@@ -2842,8 +2842,8 @@ discard block |
||
2842 | 2842 | 'id' => 124, |
2843 | 2843 | 'name' => 'giving in', |
2844 | 2844 | 'category_id' => 7, |
2845 | - ] , |
|
2846 | - ] , |
|
2845 | + ], |
|
2846 | + ], |
|
2847 | 2847 | 113 => [ |
2848 | 2848 | 'id' => 726, |
2849 | 2849 | 'user_id' => 2, |
@@ -2853,8 +2853,8 @@ discard block |
||
2853 | 2853 | 'id' => 125, |
2854 | 2854 | 'name' => 'out of control', |
2855 | 2855 | 'category_id' => 7, |
2856 | - ] , |
|
2857 | - ] , |
|
2856 | + ], |
|
2857 | + ], |
|
2858 | 2858 | 114 => [ |
2859 | 2859 | 'id' => 727, |
2860 | 2860 | 'user_id' => 2, |
@@ -2864,8 +2864,8 @@ discard block |
||
2864 | 2864 | 'id' => 126, |
2865 | 2865 | 'name' => 'lost in your addiction', |
2866 | 2866 | 'category_id' => 7, |
2867 | - ] , |
|
2868 | - ] , |
|
2867 | + ], |
|
2868 | + ], |
|
2869 | 2869 | 115 => [ |
2870 | 2870 | 'id' => 728, |
2871 | 2871 | 'user_id' => 2, |
@@ -2875,8 +2875,8 @@ discard block |
||
2875 | 2875 | 'id' => 127, |
2876 | 2876 | 'name' => 'lying to yourself and others', |
2877 | 2877 | 'category_id' => 7, |
2878 | - ] , |
|
2879 | - ] , |
|
2878 | + ], |
|
2879 | + ], |
|
2880 | 2880 | 116 => [ |
2881 | 2881 | 'id' => 729, |
2882 | 2882 | 'user_id' => 2, |
@@ -2886,8 +2886,8 @@ discard block |
||
2886 | 2886 | 'id' => 128, |
2887 | 2887 | 'name' => 'feeling you just can\'t manage without your coping behavior, at least for now', |
2888 | 2888 | 'category_id' => 7, |
2889 | - ] , |
|
2890 | - ] , |
|
2889 | + ], |
|
2890 | + ], |
|
2891 | 2891 | 117 => [ |
2892 | 2892 | 'id' => 730, |
2893 | 2893 | 'user_id' => 2, |
@@ -2897,8 +2897,8 @@ discard block |
||
2897 | 2897 | 'id' => 129, |
2898 | 2898 | 'name' => 'shame', |
2899 | 2899 | 'category_id' => 7, |
2900 | - ] , |
|
2901 | - ] , |
|
2900 | + ], |
|
2901 | + ], |
|
2902 | 2902 | 118 => [ |
2903 | 2903 | 'id' => 731, |
2904 | 2904 | 'user_id' => 2, |
@@ -2908,8 +2908,8 @@ discard block |
||
2908 | 2908 | 'id' => 130, |
2909 | 2909 | 'name' => 'condemnation', |
2910 | 2910 | 'category_id' => 7, |
2911 | - ] , |
|
2912 | - ] , |
|
2911 | + ], |
|
2912 | + ], |
|
2913 | 2913 | 119 => [ |
2914 | 2914 | 'id' => 732, |
2915 | 2915 | 'user_id' => 2, |
@@ -2919,8 +2919,8 @@ discard block |
||
2919 | 2919 | 'id' => 131, |
2920 | 2920 | 'name' => 'guilt', |
2921 | 2921 | 'category_id' => 7, |
2922 | - ] , |
|
2923 | - ] , |
|
2922 | + ], |
|
2923 | + ], |
|
2924 | 2924 | 120 => [ |
2925 | 2925 | 'id' => 733, |
2926 | 2926 | 'user_id' => 2, |
@@ -2930,8 +2930,8 @@ discard block |
||
2930 | 2930 | 'id' => 132, |
2931 | 2931 | 'name' => 'aloneness', |
2932 | 2932 | 'category_id' => 7, |
2933 | - ] , |
|
2934 | - ] , |
|
2933 | + ], |
|
2934 | + ], |
|
2935 | 2935 | 121 => [ |
2936 | 2936 | 'id' => 614, |
2937 | 2937 | 'user_id' => 2, |
@@ -2941,8 +2941,8 @@ discard block |
||
2941 | 2941 | 'id' => 11, |
2942 | 2942 | 'name' => 'secrets', |
2943 | 2943 | 'category_id' => 2, |
2944 | - ] , |
|
2945 | - ] , |
|
2944 | + ], |
|
2945 | + ], |
|
2946 | 2946 | 122 => [ |
2947 | 2947 | 'id' => 615, |
2948 | 2948 | 'user_id' => 2, |
@@ -2952,8 +2952,8 @@ discard block |
||
2952 | 2952 | 'id' => 12, |
2953 | 2953 | 'name' => 'bored', |
2954 | 2954 | 'category_id' => 2, |
2955 | - ] , |
|
2956 | - ] , |
|
2955 | + ], |
|
2956 | + ], |
|
2957 | 2957 | 123 => [ |
2958 | 2958 | 'id' => 616, |
2959 | 2959 | 'user_id' => 2, |
@@ -2963,8 +2963,8 @@ discard block |
||
2963 | 2963 | 'id' => 13, |
2964 | 2964 | 'name' => 'less time/energy for God, meetings, and church', |
2965 | 2965 | 'category_id' => 2, |
2966 | - ] , |
|
2967 | - ] , |
|
2966 | + ], |
|
2967 | + ], |
|
2968 | 2968 | 124 => [ |
2969 | 2969 | 'id' => 617, |
2970 | 2970 | 'user_id' => 2, |
@@ -2974,8 +2974,8 @@ discard block |
||
2974 | 2974 | 'id' => 14, |
2975 | 2975 | 'name' => 'avoiding support and accountability towards people', |
2976 | 2976 | 'category_id' => 2, |
2977 | - ] , |
|
2978 | - ] , |
|
2977 | + ], |
|
2978 | + ], |
|
2979 | 2979 | 125 => [ |
2980 | 2980 | 'id' => 618, |
2981 | 2981 | 'user_id' => 2, |
@@ -2985,8 +2985,8 @@ discard block |
||
2985 | 2985 | 'id' => 15, |
2986 | 2986 | 'name' => 'superficial conversations', |
2987 | 2987 | 'category_id' => 2, |
2988 | - ] , |
|
2989 | - ] , |
|
2988 | + ], |
|
2989 | + ], |
|
2990 | 2990 | 126 => [ |
2991 | 2991 | 'id' => 619, |
2992 | 2992 | 'user_id' => 2, |
@@ -2996,8 +2996,8 @@ discard block |
||
2996 | 2996 | 'id' => 16, |
2997 | 2997 | 'name' => 'sarcasm', |
2998 | 2998 | 'category_id' => 2, |
2999 | - ] , |
|
3000 | - ] , |
|
2999 | + ], |
|
3000 | + ], |
|
3001 | 3001 | 127 => [ |
3002 | 3002 | 'id' => 620, |
3003 | 3003 | 'user_id' => 2, |
@@ -3007,8 +3007,8 @@ discard block |
||
3007 | 3007 | 'id' => 17, |
3008 | 3008 | 'name' => 'isolating yourself', |
3009 | 3009 | 'category_id' => 2, |
3010 | - ] , |
|
3011 | - ] , |
|
3010 | + ], |
|
3011 | + ], |
|
3012 | 3012 | 128 => [ |
3013 | 3013 | 'id' => 621, |
3014 | 3014 | 'user_id' => 2, |
@@ -3018,8 +3018,8 @@ discard block |
||
3018 | 3018 | 'id' => 18, |
3019 | 3019 | 'name' => 'changes in goals', |
3020 | 3020 | 'category_id' => 2, |
3021 | - ] , |
|
3022 | - ] , |
|
3021 | + ], |
|
3022 | + ], |
|
3023 | 3023 | 129 => [ |
3024 | 3024 | 'id' => 622, |
3025 | 3025 | 'user_id' => 2, |
@@ -3029,8 +3029,8 @@ discard block |
||
3029 | 3029 | 'id' => 19, |
3030 | 3030 | 'name' => 'flirting', |
3031 | 3031 | 'category_id' => 2, |
3032 | - ] , |
|
3033 | - ] , |
|
3032 | + ], |
|
3033 | + ], |
|
3034 | 3034 | 130 => [ |
3035 | 3035 | 'id' => 623, |
3036 | 3036 | 'user_id' => 2, |
@@ -3040,8 +3040,8 @@ discard block |
||
3040 | 3040 | 'id' => 20, |
3041 | 3041 | 'name' => 'obsessed with relationships', |
3042 | 3042 | 'category_id' => 2, |
3043 | - ] , |
|
3044 | - ] , |
|
3043 | + ], |
|
3044 | + ], |
|
3045 | 3045 | 131 => [ |
3046 | 3046 | 'id' => 624, |
3047 | 3047 | 'user_id' => 2, |
@@ -3051,8 +3051,8 @@ discard block |
||
3051 | 3051 | 'id' => 21, |
3052 | 3052 | 'name' => 'breaking promises/commitments', |
3053 | 3053 | 'category_id' => 2, |
3054 | - ] , |
|
3055 | - ] , |
|
3054 | + ], |
|
3055 | + ], |
|
3056 | 3056 | 132 => [ |
3057 | 3057 | 'id' => 625, |
3058 | 3058 | 'user_id' => 2, |
@@ -3062,8 +3062,8 @@ discard block |
||
3062 | 3062 | 'id' => 22, |
3063 | 3063 | 'name' => 'neglecting family', |
3064 | 3064 | 'category_id' => 2, |
3065 | - ] , |
|
3066 | - ] , |
|
3065 | + ], |
|
3066 | + ], |
|
3067 | 3067 | 133 => [ |
3068 | 3068 | 'id' => 626, |
3069 | 3069 | 'user_id' => 2, |
@@ -3073,8 +3073,8 @@ discard block |
||
3073 | 3073 | 'id' => 23, |
3074 | 3074 | 'name' => 'preoccupation with material things, television, or entertainment', |
3075 | 3075 | 'category_id' => 2, |
3076 | - ] , |
|
3077 | - ] , |
|
3076 | + ], |
|
3077 | + ], |
|
3078 | 3078 | 134 => [ |
3079 | 3079 | 'id' => 627, |
3080 | 3080 | 'user_id' => 2, |
@@ -3084,8 +3084,8 @@ discard block |
||
3084 | 3084 | 'id' => 24, |
3085 | 3085 | 'name' => 'procrastination', |
3086 | 3086 | 'category_id' => 2, |
3087 | - ] , |
|
3088 | - ] , |
|
3087 | + ], |
|
3088 | + ], |
|
3089 | 3089 | 135 => [ |
3090 | 3090 | 'id' => 628, |
3091 | 3091 | 'user_id' => 2, |
@@ -3095,8 +3095,8 @@ discard block |
||
3095 | 3095 | 'id' => 25, |
3096 | 3096 | 'name' => 'lying', |
3097 | 3097 | 'category_id' => 2, |
3098 | - ] , |
|
3099 | - ] , |
|
3098 | + ], |
|
3099 | + ], |
|
3100 | 3100 | 136 => [ |
3101 | 3101 | 'id' => 629, |
3102 | 3102 | 'user_id' => 2, |
@@ -3106,8 +3106,8 @@ discard block |
||
3106 | 3106 | 'id' => 26, |
3107 | 3107 | 'name' => 'over-confidence', |
3108 | 3108 | 'category_id' => 2, |
3109 | - ] , |
|
3110 | - ] , |
|
3109 | + ], |
|
3110 | + ], |
|
3111 | 3111 | 137 => [ |
3112 | 3112 | 'id' => 630, |
3113 | 3113 | 'user_id' => 2, |
@@ -3117,8 +3117,8 @@ discard block |
||
3117 | 3117 | 'id' => 27, |
3118 | 3118 | 'name' => 'hiding money', |
3119 | 3119 | 'category_id' => 2, |
3120 | - ] , |
|
3121 | - ] , |
|
3120 | + ], |
|
3121 | + ], |
|
3122 | 3122 | 138 => [ |
3123 | 3123 | 'id' => 631, |
3124 | 3124 | 'user_id' => 2, |
@@ -3128,8 +3128,8 @@ discard block |
||
3128 | 3128 | 'id' => 28, |
3129 | 3129 | 'name' => 'worry', |
3130 | 3130 | 'category_id' => 3, |
3131 | - ] , |
|
3132 | - ] , |
|
3131 | + ], |
|
3132 | + ], |
|
3133 | 3133 | 139 => [ |
3134 | 3134 | 'id' => 632, |
3135 | 3135 | 'user_id' => 2, |
@@ -3139,8 +3139,8 @@ discard block |
||
3139 | 3139 | 'id' => 29, |
3140 | 3140 | 'name' => 'using profanity', |
3141 | 3141 | 'category_id' => 3, |
3142 | - ] , |
|
3143 | - ] , |
|
3142 | + ], |
|
3143 | + ], |
|
3144 | 3144 | 140 => [ |
3145 | 3145 | 'id' => 633, |
3146 | 3146 | 'user_id' => 2, |
@@ -3150,8 +3150,8 @@ discard block |
||
3150 | 3150 | 'id' => 30, |
3151 | 3151 | 'name' => 'being fearful', |
3152 | 3152 | 'category_id' => 3, |
3153 | - ] , |
|
3154 | - ] , |
|
3153 | + ], |
|
3154 | + ], |
|
3155 | 3155 | 141 => [ |
3156 | 3156 | 'id' => 634, |
3157 | 3157 | 'user_id' => 2, |
@@ -3161,8 +3161,8 @@ discard block |
||
3161 | 3161 | 'id' => 31, |
3162 | 3162 | 'name' => 'being resentful', |
3163 | 3163 | 'category_id' => 3, |
3164 | - ] , |
|
3165 | - ] , |
|
3164 | + ], |
|
3165 | + ], |
|
3166 | 3166 | 142 => [ |
3167 | 3167 | 'id' => 635, |
3168 | 3168 | 'user_id' => 2, |
@@ -3172,8 +3172,8 @@ discard block |
||
3172 | 3172 | 'id' => 32, |
3173 | 3173 | 'name' => 'replaying old, negative thoughts', |
3174 | 3174 | 'category_id' => 3, |
3175 | - ] , |
|
3176 | - ] , |
|
3175 | + ], |
|
3176 | + ], |
|
3177 | 3177 | 143 => [ |
3178 | 3178 | 'id' => 636, |
3179 | 3179 | 'user_id' => 2, |
@@ -3183,8 +3183,8 @@ discard block |
||
3183 | 3183 | 'id' => 33, |
3184 | 3184 | 'name' => 'perfectionism', |
3185 | 3185 | 'category_id' => 3, |
3186 | - ] , |
|
3187 | - ] , |
|
3186 | + ], |
|
3187 | + ], |
|
3188 | 3188 | 144 => [ |
3189 | 3189 | 'id' => 637, |
3190 | 3190 | 'user_id' => 2, |
@@ -3194,8 +3194,8 @@ discard block |
||
3194 | 3194 | 'id' => 34, |
3195 | 3195 | 'name' => 'juding others\' motives', |
3196 | 3196 | 'category_id' => 3, |
3197 | - ] , |
|
3198 | - ] , |
|
3197 | + ], |
|
3198 | + ], |
|
3199 | 3199 | 145 => [ |
3200 | 3200 | 'id' => 638, |
3201 | 3201 | 'user_id' => 2, |
@@ -3205,8 +3205,8 @@ discard block |
||
3205 | 3205 | 'id' => 36, |
3206 | 3206 | 'name' => 'poor planning', |
3207 | 3207 | 'category_id' => 3, |
3208 | - ] , |
|
3209 | - ] , |
|
3208 | + ], |
|
3209 | + ], |
|
3210 | 3210 | 146 => [ |
3211 | 3211 | 'id' => 639, |
3212 | 3212 | 'user_id' => 2, |
@@ -3216,8 +3216,8 @@ discard block |
||
3216 | 3216 | 'id' => 37, |
3217 | 3217 | 'name' => 'mind reading', |
3218 | 3218 | 'category_id' => 3, |
3219 | - ] , |
|
3220 | - ] , |
|
3219 | + ], |
|
3220 | + ], |
|
3221 | 3221 | 147 => [ |
3222 | 3222 | 'id' => 640, |
3223 | 3223 | 'user_id' => 2, |
@@ -3227,8 +3227,8 @@ discard block |
||
3227 | 3227 | 'id' => 38, |
3228 | 3228 | 'name' => 'fantasy', |
3229 | 3229 | 'category_id' => 3, |
3230 | - ] , |
|
3231 | - ] , |
|
3230 | + ], |
|
3231 | + ], |
|
3232 | 3232 | 148 => [ |
3233 | 3233 | 'id' => 641, |
3234 | 3234 | 'user_id' => 2, |
@@ -3238,8 +3238,8 @@ discard block |
||
3238 | 3238 | 'id' => 41, |
3239 | 3239 | 'name' => 'co-dependent rescuing', |
3240 | 3240 | 'category_id' => 3, |
3241 | - ] , |
|
3242 | - ] , |
|
3241 | + ], |
|
3242 | + ], |
|
3243 | 3243 | 149 => [ |
3244 | 3244 | 'id' => 642, |
3245 | 3245 | 'user_id' => 2, |
@@ -3249,8 +3249,8 @@ discard block |
||
3249 | 3249 | 'id' => 42, |
3250 | 3250 | 'name' => 'sleep problems', |
3251 | 3251 | 'category_id' => 3, |
3252 | - ] , |
|
3253 | - ] , |
|
3252 | + ], |
|
3253 | + ], |
|
3254 | 3254 | 150 => [ |
3255 | 3255 | 'id' => 643, |
3256 | 3256 | 'user_id' => 2, |
@@ -3260,8 +3260,8 @@ discard block |
||
3260 | 3260 | 'id' => 43, |
3261 | 3261 | 'name' => 'trouble concentrating', |
3262 | 3262 | 'category_id' => 3, |
3263 | - ] , |
|
3264 | - ] , |
|
3263 | + ], |
|
3264 | + ], |
|
3265 | 3265 | 151 => [ |
3266 | 3266 | 'id' => 644, |
3267 | 3267 | 'user_id' => 2, |
@@ -3271,8 +3271,8 @@ discard block |
||
3271 | 3271 | 'id' => 44, |
3272 | 3272 | 'name' => 'seeking/creating drama', |
3273 | 3273 | 'category_id' => 3, |
3274 | - ] , |
|
3275 | - ] , |
|
3274 | + ], |
|
3275 | + ], |
|
3276 | 3276 | 152 => [ |
3277 | 3277 | 'id' => 645, |
3278 | 3278 | 'user_id' => 2, |
@@ -3282,8 +3282,8 @@ discard block |
||
3282 | 3282 | 'id' => 45, |
3283 | 3283 | 'name' => 'gossip', |
3284 | 3284 | 'category_id' => 3, |
3285 | - ] , |
|
3286 | - ] , |
|
3285 | + ], |
|
3286 | + ], |
|
3287 | 3287 | 153 => [ |
3288 | 3288 | 'id' => 646, |
3289 | 3289 | 'user_id' => 2, |
@@ -3293,8 +3293,8 @@ discard block |
||
3293 | 3293 | 'id' => 46, |
3294 | 3294 | 'name' => 'using over-the-counter medication for pain, sleep, and weight control', |
3295 | 3295 | 'category_id' => 3, |
3296 | - ] , |
|
3297 | - ] , |
|
3296 | + ], |
|
3297 | + ], |
|
3298 | 3298 | 154 => [ |
3299 | 3299 | 'id' => 647, |
3300 | 3300 | 'user_id' => 2, |
@@ -3304,8 +3304,8 @@ discard block |
||
3304 | 3304 | 'id' => 35, |
3305 | 3305 | 'name' => 'making goals and lists you can\'t complete', |
3306 | 3306 | 'category_id' => 3, |
3307 | - ] , |
|
3308 | - ] , |
|
3307 | + ], |
|
3308 | + ], |
|
3309 | 3309 | 155 => [ |
3310 | 3310 | 'id' => 648, |
3311 | 3311 | 'user_id' => 2, |
@@ -3315,8 +3315,8 @@ discard block |
||
3315 | 3315 | 'id' => 47, |
3316 | 3316 | 'name' => 'super busy', |
3317 | 3317 | 'category_id' => 4, |
3318 | - ] , |
|
3319 | - ] , |
|
3318 | + ], |
|
3319 | + ], |
|
3320 | 3320 | 156 => [ |
3321 | 3321 | 'id' => 649, |
3322 | 3322 | 'user_id' => 2, |
@@ -3326,8 +3326,8 @@ discard block |
||
3326 | 3326 | 'id' => 48, |
3327 | 3327 | 'name' => 'workaholic', |
3328 | 3328 | 'category_id' => 4, |
3329 | - ] , |
|
3330 | - ] , |
|
3329 | + ], |
|
3330 | + ], |
|
3331 | 3331 | 157 => [ |
3332 | 3332 | 'id' => 650, |
3333 | 3333 | 'user_id' => 2, |
@@ -3337,8 +3337,8 @@ discard block |
||
3337 | 3337 | 'id' => 49, |
3338 | 3338 | 'name' => 'can\'t relax', |
3339 | 3339 | 'category_id' => 4, |
3340 | - ] , |
|
3341 | - ] , |
|
3340 | + ], |
|
3341 | + ], |
|
3342 | 3342 | 158 => [ |
3343 | 3343 | 'id' => 651, |
3344 | 3344 | 'user_id' => 2, |
@@ -3348,8 +3348,8 @@ discard block |
||
3348 | 3348 | 'id' => 50, |
3349 | 3349 | 'name' => 'driving too fast', |
3350 | 3350 | 'category_id' => 4, |
3351 | - ] , |
|
3352 | - ] , |
|
3351 | + ], |
|
3352 | + ], |
|
3353 | 3353 | 159 => [ |
3354 | 3354 | 'id' => 652, |
3355 | 3355 | 'user_id' => 2, |
@@ -3359,8 +3359,8 @@ discard block |
||
3359 | 3359 | 'id' => 51, |
3360 | 3360 | 'name' => 'avoiding slowing down', |
3361 | 3361 | 'category_id' => 4, |
3362 | - ] , |
|
3363 | - ] , |
|
3362 | + ], |
|
3363 | + ], |
|
3364 | 3364 | 160 => [ |
3365 | 3365 | 'id' => 653, |
3366 | 3366 | 'user_id' => 2, |
@@ -3370,8 +3370,8 @@ discard block |
||
3370 | 3370 | 'id' => 52, |
3371 | 3371 | 'name' => 'feeling driven', |
3372 | 3372 | 'category_id' => 4, |
3373 | - ] , |
|
3374 | - ] , |
|
3373 | + ], |
|
3374 | + ], |
|
3375 | 3375 | 161 => [ |
3376 | 3376 | 'id' => 654, |
3377 | 3377 | 'user_id' => 2, |
@@ -3381,8 +3381,8 @@ discard block |
||
3381 | 3381 | 'id' => 53, |
3382 | 3382 | 'name' => 'in a hurry', |
3383 | 3383 | 'category_id' => 4, |
3384 | - ] , |
|
3385 | - ] , |
|
3384 | + ], |
|
3385 | + ], |
|
3386 | 3386 | 162 => [ |
3387 | 3387 | 'id' => 655, |
3388 | 3388 | 'user_id' => 2, |
@@ -3392,8 +3392,8 @@ discard block |
||
3392 | 3392 | 'id' => 54, |
3393 | 3393 | 'name' => 'can\'t turn off thoughts', |
3394 | 3394 | 'category_id' => 4, |
3395 | - ] , |
|
3396 | - ] , |
|
3395 | + ], |
|
3396 | + ], |
|
3397 | 3397 | 163 => [ |
3398 | 3398 | 'id' => 656, |
3399 | 3399 | 'user_id' => 2, |
@@ -3403,8 +3403,8 @@ discard block |
||
3403 | 3403 | 'id' => 55, |
3404 | 3404 | 'name' => 'skipping meals', |
3405 | 3405 | 'category_id' => 4, |
3406 | - ] , |
|
3407 | - ] , |
|
3406 | + ], |
|
3407 | + ], |
|
3408 | 3408 | 164 => [ |
3409 | 3409 | 'id' => 657, |
3410 | 3410 | 'user_id' => 2, |
@@ -3414,8 +3414,8 @@ discard block |
||
3414 | 3414 | 'id' => 56, |
3415 | 3415 | 'name' => 'binge eating (usually at night]', |
3416 | 3416 | 'category_id' => 4, |
3417 | - ] , |
|
3418 | - ] , |
|
3417 | + ], |
|
3418 | + ], |
|
3419 | 3419 | 165 => [ |
3420 | 3420 | 'id' => 658, |
3421 | 3421 | 'user_id' => 2, |
@@ -3425,8 +3425,8 @@ discard block |
||
3425 | 3425 | 'id' => 57, |
3426 | 3426 | 'name' => 'overspending', |
3427 | 3427 | 'category_id' => 4, |
3428 | - ] , |
|
3429 | - ] , |
|
3428 | + ], |
|
3429 | + ], |
|
3430 | 3430 | 166 => [ |
3431 | 3431 | 'id' => 659, |
3432 | 3432 | 'user_id' => 2, |
@@ -3436,8 +3436,8 @@ discard block |
||
3436 | 3436 | 'id' => 58, |
3437 | 3437 | 'name' => 'can\'t identify own feelings/needs', |
3438 | 3438 | 'category_id' => 4, |
3439 | - ] , |
|
3440 | - ] , |
|
3439 | + ], |
|
3440 | + ], |
|
3441 | 3441 | 167 => [ |
3442 | 3442 | 'id' => 660, |
3443 | 3443 | 'user_id' => 2, |
@@ -3447,8 +3447,8 @@ discard block |
||
3447 | 3447 | 'id' => 59, |
3448 | 3448 | 'name' => 'repetitive, negative thoughts', |
3449 | 3449 | 'category_id' => 4, |
3450 | - ] , |
|
3451 | - ] , |
|
3450 | + ], |
|
3451 | + ], |
|
3452 | 3452 | 168 => [ |
3453 | 3453 | 'id' => 661, |
3454 | 3454 | 'user_id' => 2, |
@@ -3458,8 +3458,8 @@ discard block |
||
3458 | 3458 | 'id' => 60, |
3459 | 3459 | 'name' => 'irritable', |
3460 | 3460 | 'category_id' => 4, |
3461 | - ] , |
|
3462 | - ] , |
|
3461 | + ], |
|
3462 | + ], |
|
3463 | 3463 | 169 => [ |
3464 | 3464 | 'id' => 662, |
3465 | 3465 | 'user_id' => 2, |
@@ -3469,8 +3469,8 @@ discard block |
||
3469 | 3469 | 'id' => 61, |
3470 | 3470 | 'name' => 'making excuses for "having to do it all"', |
3471 | 3471 | 'category_id' => 4, |
3472 | - ] , |
|
3473 | - ] , |
|
3472 | + ], |
|
3473 | + ], |
|
3474 | 3474 | 170 => [ |
3475 | 3475 | 'id' => 663, |
3476 | 3476 | 'user_id' => 2, |
@@ -3480,8 +3480,8 @@ discard block |
||
3480 | 3480 | 'id' => 62, |
3481 | 3481 | 'name' => 'dramatic mood swings', |
3482 | 3482 | 'category_id' => 4, |
3483 | - ] , |
|
3484 | - ] , |
|
3483 | + ], |
|
3484 | + ], |
|
3485 | 3485 | 171 => [ |
3486 | 3486 | 'id' => 664, |
3487 | 3487 | 'user_id' => 2, |
@@ -3491,8 +3491,8 @@ discard block |
||
3491 | 3491 | 'id' => 63, |
3492 | 3492 | 'name' => 'lust', |
3493 | 3493 | 'category_id' => 4, |
3494 | - ] , |
|
3495 | - ] , |
|
3494 | + ], |
|
3495 | + ], |
|
3496 | 3496 | 172 => [ |
3497 | 3497 | 'id' => 665, |
3498 | 3498 | 'user_id' => 2, |
@@ -3502,8 +3502,8 @@ discard block |
||
3502 | 3502 | 'id' => 64, |
3503 | 3503 | 'name' => 'too much caffeine', |
3504 | 3504 | 'category_id' => 4, |
3505 | - ] , |
|
3506 | - ] , |
|
3505 | + ], |
|
3506 | + ], |
|
3507 | 3507 | 173 => [ |
3508 | 3508 | 'id' => 666, |
3509 | 3509 | 'user_id' => 2, |
@@ -3513,8 +3513,8 @@ discard block |
||
3513 | 3513 | 'id' => 65, |
3514 | 3514 | 'name' => 'over exercising', |
3515 | 3515 | 'category_id' => 4, |
3516 | - ] , |
|
3517 | - ] , |
|
3516 | + ], |
|
3517 | + ], |
|
3518 | 3518 | 174 => [ |
3519 | 3519 | 'id' => 667, |
3520 | 3520 | 'user_id' => 2, |
@@ -3524,8 +3524,8 @@ discard block |
||
3524 | 3524 | 'id' => 66, |
3525 | 3525 | 'name' => 'nervousness', |
3526 | 3526 | 'category_id' => 4, |
3527 | - ] , |
|
3528 | - ] , |
|
3527 | + ], |
|
3528 | + ], |
|
3529 | 3529 | 175 => [ |
3530 | 3530 | 'id' => 668, |
3531 | 3531 | 'user_id' => 2, |
@@ -3535,8 +3535,8 @@ discard block |
||
3535 | 3535 | 'id' => 67, |
3536 | 3536 | 'name' => 'difficulty being alone or with people', |
3537 | 3537 | 'category_id' => 4, |
3538 | - ] , |
|
3539 | - ] , |
|
3538 | + ], |
|
3539 | + ], |
|
3540 | 3540 | 176 => [ |
3541 | 3541 | 'id' => 669, |
3542 | 3542 | 'user_id' => 2, |
@@ -3546,8 +3546,8 @@ discard block |
||
3546 | 3546 | 'id' => 68, |
3547 | 3547 | 'name' => 'difficulty listening to others', |
3548 | 3548 | 'category_id' => 4, |
3549 | - ] , |
|
3550 | - ] , |
|
3549 | + ], |
|
3550 | + ], |
|
3551 | 3551 | 177 => [ |
3552 | 3552 | 'id' => 670, |
3553 | 3553 | 'user_id' => 2, |
@@ -3557,8 +3557,8 @@ discard block |
||
3557 | 3557 | 'id' => 69, |
3558 | 3558 | 'name' => 'avoiding support', |
3559 | 3559 | 'category_id' => 4, |
3560 | - ] , |
|
3561 | - ] , |
|
3560 | + ], |
|
3561 | + ], |
|
3562 | 3562 | 178 => [ |
3563 | 3563 | 'id' => 671, |
3564 | 3564 | 'user_id' => 2, |
@@ -3568,8 +3568,8 @@ discard block |
||
3568 | 3568 | 'id' => 71, |
3569 | 3569 | 'name' => 'sarcasm', |
3570 | 3570 | 'category_id' => 5, |
3571 | - ] , |
|
3572 | - ] , |
|
3571 | + ], |
|
3572 | + ], |
|
3573 | 3573 | 179 => [ |
3574 | 3574 | 'id' => 672, |
3575 | 3575 | 'user_id' => 2, |
@@ -3579,8 +3579,8 @@ discard block |
||
3579 | 3579 | 'id' => 72, |
3580 | 3580 | 'name' => 'black and white, all or nothing thinking', |
3581 | 3581 | 'category_id' => 5, |
3582 | - ] , |
|
3583 | - ] , |
|
3582 | + ], |
|
3583 | + ], |
|
3584 | 3584 | 180 => [ |
3585 | 3585 | 'id' => 673, |
3586 | 3586 | 'user_id' => 2, |
@@ -3590,8 +3590,8 @@ discard block |
||
3590 | 3590 | 'id' => 73, |
3591 | 3591 | 'name' => 'feeling that no one understands', |
3592 | 3592 | 'category_id' => 5, |
3593 | - ] , |
|
3594 | - ] , |
|
3593 | + ], |
|
3594 | + ], |
|
3595 | 3595 | 181 => [ |
3596 | 3596 | 'id' => 674, |
3597 | 3597 | 'user_id' => 2, |
@@ -3601,8 +3601,8 @@ discard block |
||
3601 | 3601 | 'id' => 74, |
3602 | 3602 | 'name' => 'overreacting', |
3603 | 3603 | 'category_id' => 5, |
3604 | - ] , |
|
3605 | - ] , |
|
3604 | + ], |
|
3605 | + ], |
|
3606 | 3606 | 182 => [ |
3607 | 3607 | 'id' => 675, |
3608 | 3608 | 'user_id' => 2, |
@@ -3612,8 +3612,8 @@ discard block |
||
3612 | 3612 | 'id' => 75, |
3613 | 3613 | 'name' => 'road rage', |
3614 | 3614 | 'category_id' => 5, |
3615 | - ] , |
|
3616 | - ] , |
|
3615 | + ], |
|
3616 | + ], |
|
3617 | 3617 | 183 => [ |
3618 | 3618 | 'id' => 676, |
3619 | 3619 | 'user_id' => 2, |
@@ -3623,8 +3623,8 @@ discard block |
||
3623 | 3623 | 'id' => 76, |
3624 | 3624 | 'name' => 'constant resentments', |
3625 | 3625 | 'category_id' => 5, |
3626 | - ] , |
|
3627 | - ] , |
|
3626 | + ], |
|
3627 | + ], |
|
3628 | 3628 | 184 => [ |
3629 | 3629 | 'id' => 677, |
3630 | 3630 | 'user_id' => 2, |
@@ -3634,8 +3634,8 @@ discard block |
||
3634 | 3634 | 'id' => 77, |
3635 | 3635 | 'name' => 'pushing others away', |
3636 | 3636 | 'category_id' => 5, |
3637 | - ] , |
|
3638 | - ] , |
|
3637 | + ], |
|
3638 | + ], |
|
3639 | 3639 | 185 => [ |
3640 | 3640 | 'id' => 678, |
3641 | 3641 | 'user_id' => 2, |
@@ -3645,8 +3645,8 @@ discard block |
||
3645 | 3645 | 'id' => 78, |
3646 | 3646 | 'name' => 'increased isolation', |
3647 | 3647 | 'category_id' => 5, |
3648 | - ] , |
|
3649 | - ] , |
|
3648 | + ], |
|
3649 | + ], |
|
3650 | 3650 | 186 => [ |
3651 | 3651 | 'id' => 679, |
3652 | 3652 | 'user_id' => 2, |
@@ -3656,8 +3656,8 @@ discard block |
||
3656 | 3656 | 'id' => 79, |
3657 | 3657 | 'name' => 'blaming', |
3658 | 3658 | 'category_id' => 5, |
3659 | - ] , |
|
3660 | - ] , |
|
3659 | + ], |
|
3660 | + ], |
|
3661 | 3661 | 187 => [ |
3662 | 3662 | 'id' => 680, |
3663 | 3663 | 'user_id' => 2, |
@@ -3667,8 +3667,8 @@ discard block |
||
3667 | 3667 | 'id' => 80, |
3668 | 3668 | 'name' => 'self pity', |
3669 | 3669 | 'category_id' => 5, |
3670 | - ] , |
|
3671 | - ] , |
|
3670 | + ], |
|
3671 | + ], |
|
3672 | 3672 | 188 => [ |
3673 | 3673 | 'id' => 681, |
3674 | 3674 | 'user_id' => 2, |
@@ -3678,8 +3678,8 @@ discard block |
||
3678 | 3678 | 'id' => 81, |
3679 | 3679 | 'name' => 'arguing', |
3680 | 3680 | 'category_id' => 5, |
3681 | - ] , |
|
3682 | - ] , |
|
3681 | + ], |
|
3682 | + ], |
|
3683 | 3683 | 189 => [ |
3684 | 3684 | 'id' => 682, |
3685 | 3685 | 'user_id' => 2, |
@@ -3689,8 +3689,8 @@ discard block |
||
3689 | 3689 | 'id' => 83, |
3690 | 3690 | 'name' => 'can\'t handle criticism', |
3691 | 3691 | 'category_id' => 5, |
3692 | - ] , |
|
3693 | - ] , |
|
3692 | + ], |
|
3693 | + ], |
|
3694 | 3694 | 190 => [ |
3695 | 3695 | 'id' => 683, |
3696 | 3696 | 'user_id' => 2, |
@@ -3700,8 +3700,8 @@ discard block |
||
3700 | 3700 | 'id' => 84, |
3701 | 3701 | 'name' => 'defensive', |
3702 | 3702 | 'category_id' => 5, |
3703 | - ] , |
|
3704 | - ] , |
|
3703 | + ], |
|
3704 | + ], |
|
3705 | 3705 | 191 => [ |
3706 | 3706 | 'id' => 684, |
3707 | 3707 | 'user_id' => 2, |
@@ -3711,8 +3711,8 @@ discard block |
||
3711 | 3711 | 'id' => 85, |
3712 | 3712 | 'name' => 'people are avoiding you', |
3713 | 3713 | 'category_id' => 5, |
3714 | - ] , |
|
3715 | - ] , |
|
3714 | + ], |
|
3715 | + ], |
|
3716 | 3716 | 192 => [ |
3717 | 3717 | 'id' => 685, |
3718 | 3718 | 'user_id' => 2, |
@@ -3722,8 +3722,8 @@ discard block |
||
3722 | 3722 | 'id' => 86, |
3723 | 3723 | 'name' => 'having to be right', |
3724 | 3724 | 'category_id' => 5, |
3725 | - ] , |
|
3726 | - ] , |
|
3725 | + ], |
|
3726 | + ], |
|
3727 | 3727 | 193 => [ |
3728 | 3728 | 'id' => 686, |
3729 | 3729 | 'user_id' => 2, |
@@ -3733,8 +3733,8 @@ discard block |
||
3733 | 3733 | 'id' => 87, |
3734 | 3734 | 'name' => 'digestive problems', |
3735 | 3735 | 'category_id' => 5, |
3736 | - ] , |
|
3737 | - ] , |
|
3736 | + ], |
|
3737 | + ], |
|
3738 | 3738 | 194 => [ |
3739 | 3739 | 'id' => 687, |
3740 | 3740 | 'user_id' => 2, |
@@ -3744,8 +3744,8 @@ discard block |
||
3744 | 3744 | 'id' => 88, |
3745 | 3745 | 'name' => 'headaches', |
3746 | 3746 | 'category_id' => 5, |
3747 | - ] , |
|
3748 | - ] , |
|
3747 | + ], |
|
3748 | + ], |
|
3749 | 3749 | 195 => [ |
3750 | 3750 | 'id' => 688, |
3751 | 3751 | 'user_id' => 2, |
@@ -3755,8 +3755,8 @@ discard block |
||
3755 | 3755 | 'id' => 89, |
3756 | 3756 | 'name' => 'obsessive (stuck] thoughts', |
3757 | 3757 | 'category_id' => 5, |
3758 | - ] , |
|
3759 | - ] , |
|
3758 | + ], |
|
3759 | + ], |
|
3760 | 3760 | 196 => [ |
3761 | 3761 | 'id' => 689, |
3762 | 3762 | 'user_id' => 2, |
@@ -3766,8 +3766,8 @@ discard block |
||
3766 | 3766 | 'id' => 90, |
3767 | 3767 | 'name' => 'can\'t forgive', |
3768 | 3768 | 'category_id' => 5, |
3769 | - ] , |
|
3770 | - ] , |
|
3769 | + ], |
|
3770 | + ], |
|
3771 | 3771 | 197 => [ |
3772 | 3772 | 'id' => 690, |
3773 | 3773 | 'user_id' => 2, |
@@ -3777,8 +3777,8 @@ discard block |
||
3777 | 3777 | 'id' => 91, |
3778 | 3778 | 'name' => 'feeling grandiose (superior]', |
3779 | 3779 | 'category_id' => 5, |
3780 | - ] , |
|
3781 | - ] , |
|
3780 | + ], |
|
3781 | + ], |
|
3782 | 3782 | 198 => [ |
3783 | 3783 | 'id' => 691, |
3784 | 3784 | 'user_id' => 2, |
@@ -3788,8 +3788,8 @@ discard block |
||
3788 | 3788 | 'id' => 92, |
3789 | 3789 | 'name' => 'intimidation', |
3790 | 3790 | 'category_id' => 5, |
3791 | - ] , |
|
3792 | - ] , |
|
3791 | + ], |
|
3792 | + ], |
|
3793 | 3793 | 199 => [ |
3794 | 3794 | 'id' => 692, |
3795 | 3795 | 'user_id' => 2, |
@@ -3799,8 +3799,8 @@ discard block |
||
3799 | 3799 | 'id' => 93, |
3800 | 3800 | 'name' => 'feeling aggressive', |
3801 | 3801 | 'category_id' => 5, |
3802 | - ] , |
|
3803 | - ] , |
|
3802 | + ], |
|
3803 | + ], |
|
3804 | 3804 | 200 => [ |
3805 | 3805 | 'id' => 693, |
3806 | 3806 | 'user_id' => 2, |
@@ -3810,8 +3810,8 @@ discard block |
||
3810 | 3810 | 'id' => 70, |
3811 | 3811 | 'name' => 'procrastination causing crises in money, work, or relationships', |
3812 | 3812 | 'category_id' => 5, |
3813 | - ] , |
|
3814 | - ] , |
|
3813 | + ], |
|
3814 | + ], |
|
3815 | 3815 | 201 => [ |
3816 | 3816 | 'id' => 694, |
3817 | 3817 | 'user_id' => 2, |
@@ -3821,8 +3821,8 @@ discard block |
||
3821 | 3821 | 'id' => 82, |
3822 | 3822 | 'name' => 'irrationality', |
3823 | 3823 | 'category_id' => 5, |
3824 | - ] , |
|
3825 | - ] , |
|
3824 | + ], |
|
3825 | + ], |
|
3826 | 3826 | 202 => [ |
3827 | 3827 | 'id' => 695, |
3828 | 3828 | 'user_id' => 2, |
@@ -3832,8 +3832,8 @@ discard block |
||
3832 | 3832 | 'id' => 94, |
3833 | 3833 | 'name' => 'depressed', |
3834 | 3834 | 'category_id' => 6, |
3835 | - ] , |
|
3836 | - ] , |
|
3835 | + ], |
|
3836 | + ], |
|
3837 | 3837 | 203 => [ |
3838 | 3838 | 'id' => 696, |
3839 | 3839 | 'user_id' => 2, |
@@ -3843,8 +3843,8 @@ discard block |
||
3843 | 3843 | 'id' => 95, |
3844 | 3844 | 'name' => 'panicked', |
3845 | 3845 | 'category_id' => 6, |
3846 | - ] , |
|
3847 | - ] , |
|
3846 | + ], |
|
3847 | + ], |
|
3848 | 3848 | 204 => [ |
3849 | 3849 | 'id' => 697, |
3850 | 3850 | 'user_id' => 2, |
@@ -3854,8 +3854,8 @@ discard block |
||
3854 | 3854 | 'id' => 96, |
3855 | 3855 | 'name' => 'confused', |
3856 | 3856 | 'category_id' => 6, |
3857 | - ] , |
|
3858 | - ] , |
|
3857 | + ], |
|
3858 | + ], |
|
3859 | 3859 | 205 => [ |
3860 | 3860 | 'id' => 698, |
3861 | 3861 | 'user_id' => 2, |
@@ -3865,8 +3865,8 @@ discard block |
||
3865 | 3865 | 'id' => 97, |
3866 | 3866 | 'name' => 'hopeless', |
3867 | 3867 | 'category_id' => 6, |
3868 | - ] , |
|
3869 | - ] , |
|
3868 | + ], |
|
3869 | + ], |
|
3870 | 3870 | 206 => [ |
3871 | 3871 | 'id' => 699, |
3872 | 3872 | 'user_id' => 2, |
@@ -3876,8 +3876,8 @@ discard block |
||
3876 | 3876 | 'id' => 98, |
3877 | 3877 | 'name' => 'sleeping too much or too little', |
3878 | 3878 | 'category_id' => 6, |
3879 | - ] , |
|
3880 | - ] , |
|
3879 | + ], |
|
3880 | + ], |
|
3881 | 3881 | 207 => [ |
3882 | 3882 | 'id' => 700, |
3883 | 3883 | 'user_id' => 2, |
@@ -3887,8 +3887,8 @@ discard block |
||
3887 | 3887 | 'id' => 99, |
3888 | 3888 | 'name' => 'can\'t cope', |
3889 | 3889 | 'category_id' => 6, |
3890 | - ] , |
|
3891 | - ] , |
|
3890 | + ], |
|
3891 | + ], |
|
3892 | 3892 | 208 => [ |
3893 | 3893 | 'id' => 701, |
3894 | 3894 | 'user_id' => 2, |
@@ -3898,8 +3898,8 @@ discard block |
||
3898 | 3898 | 'id' => 100, |
3899 | 3899 | 'name' => 'overwhelmed', |
3900 | 3900 | 'category_id' => 6, |
3901 | - ] , |
|
3902 | - ] , |
|
3901 | + ], |
|
3902 | + ], |
|
3903 | 3903 | 209 => [ |
3904 | 3904 | 'id' => 702, |
3905 | 3905 | 'user_id' => 2, |
@@ -3909,8 +3909,8 @@ discard block |
||
3909 | 3909 | 'id' => 101, |
3910 | 3910 | 'name' => 'crying for "no reason"', |
3911 | 3911 | 'category_id' => 6, |
3912 | - ] , |
|
3913 | - ] , |
|
3912 | + ], |
|
3913 | + ], |
|
3914 | 3914 | 210 => [ |
3915 | 3915 | 'id' => 703, |
3916 | 3916 | 'user_id' => 2, |
@@ -3920,8 +3920,8 @@ discard block |
||
3920 | 3920 | 'id' => 102, |
3921 | 3921 | 'name' => 'can\'t think', |
3922 | 3922 | 'category_id' => 6, |
3923 | - ] , |
|
3924 | - ] , |
|
3923 | + ], |
|
3924 | + ], |
|
3925 | 3925 | 211 => [ |
3926 | 3926 | 'id' => 704, |
3927 | 3927 | 'user_id' => 2, |
@@ -3931,8 +3931,8 @@ discard block |
||
3931 | 3931 | 'id' => 103, |
3932 | 3932 | 'name' => 'forgetful', |
3933 | 3933 | 'category_id' => 6, |
3934 | - ] , |
|
3935 | - ] , |
|
3934 | + ], |
|
3935 | + ], |
|
3936 | 3936 | 212 => [ |
3937 | 3937 | 'id' => 705, |
3938 | 3938 | 'user_id' => 2, |
@@ -3942,8 +3942,8 @@ discard block |
||
3942 | 3942 | 'id' => 104, |
3943 | 3943 | 'name' => 'pessimistic', |
3944 | 3944 | 'category_id' => 6, |
3945 | - ] , |
|
3946 | - ] , |
|
3945 | + ], |
|
3946 | + ], |
|
3947 | 3947 | 213 => [ |
3948 | 3948 | 'id' => 706, |
3949 | 3949 | 'user_id' => 2, |
@@ -3953,8 +3953,8 @@ discard block |
||
3953 | 3953 | 'id' => 105, |
3954 | 3954 | 'name' => 'helpless', |
3955 | 3955 | 'category_id' => 6, |
3956 | - ] , |
|
3957 | - ] , |
|
3956 | + ], |
|
3957 | + ], |
|
3958 | 3958 | 214 => [ |
3959 | 3959 | 'id' => 707, |
3960 | 3960 | 'user_id' => 2, |
@@ -3964,8 +3964,8 @@ discard block |
||
3964 | 3964 | 'id' => 106, |
3965 | 3965 | 'name' => 'tired', |
3966 | 3966 | 'category_id' => 6, |
3967 | - ] , |
|
3968 | - ] , |
|
3967 | + ], |
|
3968 | + ], |
|
3969 | 3969 | 215 => [ |
3970 | 3970 | 'id' => 708, |
3971 | 3971 | 'user_id' => 2, |
@@ -3975,8 +3975,8 @@ discard block |
||
3975 | 3975 | 'id' => 107, |
3976 | 3976 | 'name' => 'numb', |
3977 | 3977 | 'category_id' => 6, |
3978 | - ] , |
|
3979 | - ] , |
|
3978 | + ], |
|
3979 | + ], |
|
3980 | 3980 | 216 => [ |
3981 | 3981 | 'id' => 709, |
3982 | 3982 | 'user_id' => 2, |
@@ -3986,8 +3986,8 @@ discard block |
||
3986 | 3986 | 'id' => 108, |
3987 | 3987 | 'name' => 'wanting to run', |
3988 | 3988 | 'category_id' => 6, |
3989 | - ] , |
|
3990 | - ] , |
|
3989 | + ], |
|
3990 | + ], |
|
3991 | 3991 | ]; |
3992 | 3992 | |
3993 | 3993 | return [ |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | use _generated\UnitTesterActions; |
22 | 22 | |
23 | - /** |
|
24 | - * Define custom actions here |
|
25 | - */ |
|
23 | + /** |
|
24 | + * Define custom actions here |
|
25 | + */ |
|
26 | 26 | } |
@@ -7,7 +7,7 @@ |
||
7 | 7 | require_once(YII_APP_BASE_PATH . '/vendor/autoload.php'); |
8 | 8 | require_once(YII_APP_BASE_PATH . '/vendor/yiisoft/yii2/Yii.php'); |
9 | 9 | |
10 | - Yii::setAlias('@web', '/'); |
|
10 | + Yii::setAlias('@web', '/'); |
|
11 | 11 | |
12 | 12 | require(YII_APP_BASE_PATH . '/common/config/aliases.php'); |
13 | 13 | Yii::setAlias('@tests', dirname(__DIR__)); |
@@ -125,14 +125,14 @@ discard block |
||
125 | 125 | <th style="Margin:0;color:#0a0a0a;font-family:Lato,Helvetica,Arial,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;text-align:left"> |
126 | 126 | |
127 | 127 | <?php |
128 | -if($questions) { |
|
129 | - foreach($questions as $behavior_id => $behavior_questions) { |
|
128 | +if ($questions) { |
|
129 | + foreach ($questions as $behavior_id => $behavior_questions) { |
|
130 | 130 | ?> |
131 | 131 | |
132 | 132 | <h4 style="Margin:0;Margin-bottom:10px;color:#37b98f;font-family:Lato,Helvetica,Arial,sans-serif;font-size:24px;font-weight:400;line-height:1.3;margin:0;margin-bottom:5px;padding:0 8px;text-align:left;word-wrap:normal"> <?= $behavior_questions['question']['title'] ?> </h4> |
133 | 133 | |
134 | 134 | <?php |
135 | - foreach($behavior_questions['answers'] as $key => $question) { ?> |
|
135 | + foreach ($behavior_questions['answers'] as $key => $question) { ?> |
|
136 | 136 | <p style="Margin:0;Margin-bottom:10px;color:#0a0a0a;font-family:Lato,Helvetica,Arial,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;margin-bottom:10px;padding:0 8px 4px 8px;text-align:left"><strong><?=$question['title']?></strong> <?=$question['answer']?></p> |
137 | 137 | <?php |
138 | 138 | } |
@@ -189,12 +189,12 @@ discard block |
||
189 | 189 | <th style="Margin:0;color:#0a0a0a;font-family:Lato,Helvetica,Arial,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;text-align:left"> |
190 | 190 | |
191 | 191 | <?php |
192 | -if($user_behaviors) { |
|
193 | - foreach($user_behaviors as $user_behavior) { ?> |
|
192 | +if ($user_behaviors) { |
|
193 | + foreach ($user_behaviors as $user_behavior) { ?> |
|
194 | 194 | <p style="Margin:0;Margin-bottom:10px;color:#0a0a0a;font-family:Lato,Helvetica,Arial,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;margin-bottom:10px;padding:0 8px 4px 8px;text-align:left"> |
195 | 195 | <strong style="color:#37b98f"><?= $user_behavior['category_name'] ?></strong> |
196 | 196 | <?php |
197 | - foreach($user_behavior['behaviors'] as $behavior) { ?> |
|
197 | + foreach ($user_behavior['behaviors'] as $behavior) { ?> |
|
198 | 198 | <br><?= $behavior['name'] ?> |
199 | 199 | <?php |
200 | 200 | } |
@@ -561,28 +561,28 @@ |
||
561 | 561 | } |
562 | 562 | |
563 | 563 | public function cleanExportData($data) { |
564 | - $order = array_flip(["date", "behavior", "category", "question1", "question2", "question3"]); |
|
564 | + $order = array_flip(["date", "behavior", "category", "question1", "question2", "question3"]); |
|
565 | 565 | |
566 | - $ret = array_map( |
|
567 | - function($row) use ($order) { |
|
568 | - // change timestamp to local time (for the user) |
|
569 | - $row['date'] = $this->time->convertUTCToLocal($row['date'], false); |
|
566 | + $ret = array_map( |
|
567 | + function($row) use ($order) { |
|
568 | + // change timestamp to local time (for the user) |
|
569 | + $row['date'] = $this->time->convertUTCToLocal($row['date'], false); |
|
570 | 570 | |
571 | - // clean up things we don't need |
|
572 | - $row['category'] = $row['behavior']['category']['name']; |
|
573 | - $row['behavior'] = $row['behavior']['name']; |
|
574 | - unset($row['id']); |
|
575 | - unset($row['behavior_id']); |
|
576 | - |
|
577 | - // sort the array into a sensible order |
|
578 | - uksort($row, function($a, $b) use ($order) { |
|
571 | + // clean up things we don't need |
|
572 | + $row['category'] = $row['behavior']['category']['name']; |
|
573 | + $row['behavior'] = $row['behavior']['name']; |
|
574 | + unset($row['id']); |
|
575 | + unset($row['behavior_id']); |
|
576 | + |
|
577 | + // sort the array into a sensible order |
|
578 | + uksort($row, function($a, $b) use ($order) { |
|
579 | 579 | return $order[$a] <=> $order[$b]; |
580 | - }); |
|
581 | - return $row; |
|
582 | - }, |
|
583 | - $data |
|
584 | - ); |
|
585 | - return $ret; |
|
580 | + }); |
|
581 | + return $row; |
|
582 | + }, |
|
583 | + $data |
|
584 | + ); |
|
585 | + return $ret; |
|
586 | 586 | } |
587 | 587 | |
588 | 588 | /* |
@@ -161,7 +161,9 @@ discard block |
||
161 | 161 | */ |
162 | 162 | public function findByVerifyEmailToken($token) |
163 | 163 | { |
164 | - if($this->isTokenConfirmed($token)) return null; |
|
164 | + if($this->isTokenConfirmed($token)) { |
|
165 | + return null; |
|
166 | + } |
|
165 | 167 | |
166 | 168 | $user = $this->findOne([ |
167 | 169 | 'verify_email_token' => [$token, $token . self::CONFIRMED_STRING], |
@@ -225,7 +227,9 @@ discard block |
||
225 | 227 | * @param string $match the needle to search for |
226 | 228 | */ |
227 | 229 | public function isTokenConfirmed($token = null, String $match = self::CONFIRMED_STRING) { |
228 | - if(is_null($token)) $token = $this->verify_email_token; |
|
230 | + if(is_null($token)) { |
|
231 | + $token = $this->verify_email_token; |
|
232 | + } |
|
229 | 233 | return substr($token, -strlen($match)) === $match; |
230 | 234 | } |
231 | 235 | |
@@ -358,7 +362,10 @@ discard block |
||
358 | 362 | } |
359 | 363 | |
360 | 364 | public function sendEmailReport($date) { |
361 | - if(!$this->isPartnerEnabled()) return false; // no partner emails set |
|
365 | + if(!$this->isPartnerEnabled()) { |
|
366 | + return false; |
|
367 | + } |
|
368 | + // no partner emails set |
|
362 | 369 | |
363 | 370 | list($start, $end) = $this->time->getUTCBookends($date); |
364 | 371 | |
@@ -489,13 +496,17 @@ discard block |
||
489 | 496 | } |
490 | 497 | |
491 | 498 | public function getUserQuestions($local_date = null) { |
492 | - if(is_null($local_date)) $local_date = $this->time->getLocalDate(); |
|
499 | + if(is_null($local_date)) { |
|
500 | + $local_date = $this->time->getLocalDate(); |
|
501 | + } |
|
493 | 502 | $questions = $this->getQuestionData($local_date); |
494 | 503 | return $this->parseQuestionData($questions); |
495 | 504 | } |
496 | 505 | |
497 | 506 | public function getUserBehaviors($local_date = null) { |
498 | - if(is_null($local_date)) $local_date = $this->time->getLocalDate(); |
|
507 | + if(is_null($local_date)) { |
|
508 | + $local_date = $this->time->getLocalDate(); |
|
509 | + } |
|
499 | 510 | |
500 | 511 | $behaviors = $this->getBehaviorData($local_date); |
501 | 512 | $behaviors = $this->user_behavior::decorateWithCategory($behaviors); |
@@ -503,7 +514,9 @@ discard block |
||
503 | 514 | } |
504 | 515 | |
505 | 516 | public function parseQuestionData($questions) { |
506 | - if(!$questions) return []; |
|
517 | + if(!$questions) { |
|
518 | + return []; |
|
519 | + } |
|
507 | 520 | |
508 | 521 | $question_answers = []; |
509 | 522 | foreach($questions as $question) { |
@@ -524,7 +537,9 @@ discard block |
||
524 | 537 | } |
525 | 538 | |
526 | 539 | public function parseBehaviorData($behaviors) { |
527 | - if(!$behaviors) return []; |
|
540 | + if(!$behaviors) { |
|
541 | + return []; |
|
542 | + } |
|
528 | 543 | |
529 | 544 | $opts_by_cat = []; |
530 | 545 | foreach($behaviors as $behavior) { |
@@ -587,7 +602,9 @@ discard block |
||
587 | 602 | } |
588 | 603 | |
589 | 604 | public function isOverThreshold($score) { |
590 | - if(!$this->isPartnerEnabled()) return false; |
|
605 | + if(!$this->isPartnerEnabled()) { |
|
606 | + return false; |
|
607 | + } |
|
591 | 608 | |
592 | 609 | $threshold = $this->email_threshold; |
593 | 610 |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | */ |
144 | 144 | public function findByPasswordResetToken($token) |
145 | 145 | { |
146 | - if(!$this->isTokenCurrent($token)) { |
|
146 | + if (!$this->isTokenCurrent($token)) { |
|
147 | 147 | return null; |
148 | 148 | } |
149 | 149 | |
@@ -161,15 +161,15 @@ discard block |
||
161 | 161 | */ |
162 | 162 | public function findByVerifyEmailToken($token) |
163 | 163 | { |
164 | - if($this->isTokenConfirmed($token)) return null; |
|
164 | + if ($this->isTokenConfirmed($token)) return null; |
|
165 | 165 | |
166 | 166 | $user = $this->findOne([ |
167 | 167 | 'verify_email_token' => [$token, $token . self::CONFIRMED_STRING], |
168 | 168 | 'status' => self::STATUS_ACTIVE, |
169 | 169 | ]); |
170 | 170 | |
171 | - if($user) { |
|
172 | - if(!$this->isTokenConfirmed($token) && |
|
171 | + if ($user) { |
|
172 | + if (!$this->isTokenConfirmed($token) && |
|
173 | 173 | !$this->isTokenCurrent($token, 'user.verifyAccountTokenExpire')) { |
174 | 174 | return null; |
175 | 175 | } |
@@ -191,8 +191,8 @@ discard block |
||
191 | 191 | 'status' => self::STATUS_ACTIVE, |
192 | 192 | ]); |
193 | 193 | |
194 | - if($user) { |
|
195 | - if(!$user->isTokenCurrent($token, 'user.verifyAccountTokenExpire')) { |
|
194 | + if ($user) { |
|
195 | + if (!$user->isTokenCurrent($token, 'user.verifyAccountTokenExpire')) { |
|
196 | 196 | return null; |
197 | 197 | } |
198 | 198 | } |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | public function isTokenCurrent($token, String $paramPath = 'user.passwordResetTokenExpire') { |
211 | 211 | $expire = \Yii::$app->params[$paramPath]; |
212 | 212 | $parts = explode('_', $token); |
213 | - $timestamp = (int) end($parts); |
|
213 | + $timestamp = (int)end($parts); |
|
214 | 214 | if ($timestamp + $expire < time()) { |
215 | 215 | // token expired |
216 | 216 | return false; |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | * @param string $match the needle to search for |
226 | 226 | */ |
227 | 227 | public function isTokenConfirmed($token = null, String $match = self::CONFIRMED_STRING) { |
228 | - if(is_null($token)) $token = $this->verify_email_token; |
|
228 | + if (is_null($token)) $token = $this->verify_email_token; |
|
229 | 229 | return substr($token, -strlen($match)) === $match; |
230 | 230 | } |
231 | 231 | |
@@ -250,7 +250,7 @@ discard block |
||
250 | 250 | } |
251 | 251 | |
252 | 252 | public function isVerified() { |
253 | - if(is_null($this->verify_email_token)) { |
|
253 | + if (is_null($this->verify_email_token)) { |
|
254 | 254 | // for old users who verified their accounts before the addition of |
255 | 255 | // '_confirmed' to the token |
256 | 256 | return true; |
@@ -358,7 +358,7 @@ discard block |
||
358 | 358 | } |
359 | 359 | |
360 | 360 | public function sendEmailReport($date) { |
361 | - if(!$this->isPartnerEnabled()) return false; // no partner emails set |
|
361 | + if (!$this->isPartnerEnabled()) return false; // no partner emails set |
|
362 | 362 | |
363 | 363 | list($start, $end) = $this->time->getUTCBookends($date); |
364 | 364 | |
@@ -368,12 +368,12 @@ discard block |
||
368 | 368 | ->create($scores_of_month); |
369 | 369 | |
370 | 370 | $score = $this->user_behavior->calculateScoreByUTCRange($start, $end); |
371 | - $user_behaviors = $this->getUserBehaviors($date); |
|
371 | + $user_behaviors = $this->getUserBehaviors($date); |
|
372 | 372 | $user_questions = $this->getUserQuestions($date); |
373 | 373 | |
374 | 374 | $messages = []; |
375 | - foreach($this->getPartnerEmails() as $email) { |
|
376 | - if($email) { |
|
375 | + foreach ($this->getPartnerEmails() as $email) { |
|
376 | + if ($email) { |
|
377 | 377 | $messages[] = Yii::$app->mailer->compose('checkinReport', [ |
378 | 378 | 'user' => $this, |
379 | 379 | 'email' => $email, |
@@ -386,7 +386,7 @@ discard block |
||
386 | 386 | 'behaviors_list' => \common\models\Behavior::$behaviors, |
387 | 387 | ])->setFrom([Yii::$app->params['supportEmail'] => Yii::$app->name]) |
388 | 388 | ->setReplyTo($this->email) |
389 | - ->setSubject($this->email." has scored high in The Faster Scale App") |
|
389 | + ->setSubject($this->email . " has scored high in The Faster Scale App") |
|
390 | 390 | ->setTo($email); |
391 | 391 | } |
392 | 392 | } |
@@ -459,7 +459,7 @@ discard block |
||
459 | 459 | return \Yii::$app->mailer->compose('signupNotification') |
460 | 460 | ->setFrom([\Yii::$app->params['supportEmail'] => \Yii::$app->name]) |
461 | 461 | ->setTo(\Yii::$app->params['adminEmail']) |
462 | - ->setSubject('A new user has signed up for '.\Yii::$app->name) |
|
462 | + ->setSubject('A new user has signed up for ' . \Yii::$app->name) |
|
463 | 463 | ->send(); |
464 | 464 | } |
465 | 465 | |
@@ -467,20 +467,20 @@ discard block |
||
467 | 467 | return \Yii::$app->mailer->compose('verifyEmail', ['user' => $this]) |
468 | 468 | ->setFrom([\Yii::$app->params['supportEmail'] => \Yii::$app->name]) |
469 | 469 | ->setTo($this->email) |
470 | - ->setSubject('Please verify your '.\Yii::$app->name .' account') |
|
470 | + ->setSubject('Please verify your ' . \Yii::$app->name . ' account') |
|
471 | 471 | ->send(); |
472 | 472 | } |
473 | 473 | |
474 | 474 | public function sendDeleteNotificationEmail() { |
475 | 475 | $messages = []; |
476 | - foreach(array_merge([$this->email], $this->getPartnerEmails()) as $email) { |
|
477 | - if($email) { |
|
476 | + foreach (array_merge([$this->email], $this->getPartnerEmails()) as $email) { |
|
477 | + if ($email) { |
|
478 | 478 | $messages[] = Yii::$app->mailer->compose('deleteNotification', [ |
479 | 479 | 'user' => $this, |
480 | 480 | 'email' => $email |
481 | 481 | ])->setFrom([Yii::$app->params['supportEmail'] => Yii::$app->name]) |
482 | 482 | ->setReplyTo($this->email) |
483 | - ->setSubject($this->email." has deleted their The Faster Scale App account") |
|
483 | + ->setSubject($this->email . " has deleted their The Faster Scale App account") |
|
484 | 484 | ->setTo($email); |
485 | 485 | } |
486 | 486 | } |
@@ -489,13 +489,13 @@ discard block |
||
489 | 489 | } |
490 | 490 | |
491 | 491 | public function getUserQuestions($local_date = null) { |
492 | - if(is_null($local_date)) $local_date = $this->time->getLocalDate(); |
|
492 | + if (is_null($local_date)) $local_date = $this->time->getLocalDate(); |
|
493 | 493 | $questions = $this->getQuestionData($local_date); |
494 | 494 | return $this->parseQuestionData($questions); |
495 | 495 | } |
496 | 496 | |
497 | 497 | public function getUserBehaviors($local_date = null) { |
498 | - if(is_null($local_date)) $local_date = $this->time->getLocalDate(); |
|
498 | + if (is_null($local_date)) $local_date = $this->time->getLocalDate(); |
|
499 | 499 | |
500 | 500 | $behaviors = $this->getBehaviorData($local_date); |
501 | 501 | $behaviors = $this->user_behavior::decorateWithCategory($behaviors); |
@@ -503,10 +503,10 @@ discard block |
||
503 | 503 | } |
504 | 504 | |
505 | 505 | public function parseQuestionData($questions) { |
506 | - if(!$questions) return []; |
|
506 | + if (!$questions) return []; |
|
507 | 507 | |
508 | 508 | $question_answers = []; |
509 | - foreach($questions as $question) { |
|
509 | + foreach ($questions as $question) { |
|
510 | 510 | $behavior = $question['behavior']; |
511 | 511 | |
512 | 512 | $question_answers[$behavior['id']]['question'] = [ |
@@ -524,10 +524,10 @@ discard block |
||
524 | 524 | } |
525 | 525 | |
526 | 526 | public function parseBehaviorData($behaviors) { |
527 | - if(!$behaviors) return []; |
|
527 | + if (!$behaviors) return []; |
|
528 | 528 | |
529 | 529 | $opts_by_cat = []; |
530 | - foreach($behaviors as $behavior) { |
|
530 | + foreach ($behaviors as $behavior) { |
|
531 | 531 | $indx = $behavior['behavior']['category_id']; |
532 | 532 | |
533 | 533 | $opts_by_cat[$indx]['category_name'] = $behavior['behavior']['category']['name']; |
@@ -576,7 +576,7 @@ discard block |
||
576 | 576 | } |
577 | 577 | |
578 | 578 | public function isPartnerEnabled() { |
579 | - if((is_integer($this->email_threshold) |
|
579 | + if ((is_integer($this->email_threshold) |
|
580 | 580 | && $this->email_threshold >= 0) |
581 | 581 | && ($this->partner_email1 |
582 | 582 | || $this->partner_email2 |
@@ -587,7 +587,7 @@ discard block |
||
587 | 587 | } |
588 | 588 | |
589 | 589 | public function isOverThreshold($score) { |
590 | - if(!$this->isPartnerEnabled()) return false; |
|
590 | + if (!$this->isPartnerEnabled()) return false; |
|
591 | 591 | |
592 | 592 | $threshold = $this->email_threshold; |
593 | 593 | |
@@ -640,7 +640,7 @@ discard block |
||
640 | 640 | return rtrim( |
641 | 641 | strtr( |
642 | 642 | base64_encode( |
643 | - hash('sha256', $this->id."::".$this->created_at, true) |
|
643 | + hash('sha256', $this->id . "::" . $this->created_at, true) |
|
644 | 644 | ), |
645 | 645 | '+/', '-_'), |
646 | 646 | '='); |
@@ -60,10 +60,10 @@ |
||
60 | 60 | */ |
61 | 61 | public function login() |
62 | 62 | { |
63 | - if($this->validate()) { |
|
63 | + if ($this->validate()) { |
|
64 | 64 | $user = $this->getUser(); |
65 | - if($user->isVerified()) { |
|
66 | - return Yii::$app->user->login($user, $this->rememberMe ? 3600 * 24 * 30 : 0); |
|
65 | + if ($user->isVerified()) { |
|
66 | + return Yii::$app->user->login($user, $this->rememberMe ? 3600*24*30 : 0); |
|
67 | 67 | } else { |
68 | 68 | Yii::$app->getSession()->setFlash('warning', 'You must verify your account before you can proceed. Please check your email inbox for a verification email and follow the instructions.'); |
69 | 69 | } |
@@ -114,7 +114,9 @@ discard block |
||
114 | 114 | |
115 | 115 | public function getDailyScore($date = null) { |
116 | 116 | // default to today's score |
117 | - if(is_null($date)) $date = $this->time->getLocalDate(); |
|
117 | + if(is_null($date)) { |
|
118 | + $date = $this->time->getLocalDate(); |
|
119 | + } |
|
118 | 120 | |
119 | 121 | list($start, $end) = $this->time->getUTCBookends($date); |
120 | 122 | $score = $this->calculateScoreByUTCRange($start, $end); |
@@ -166,8 +168,12 @@ discard block |
||
166 | 168 | } |
167 | 169 | |
168 | 170 | public function calculateScore($usr_bhvrs, $all_cats = null) { |
169 | - if(!!!$usr_bhvrs) return []; |
|
170 | - if(!!!$all_cats) $all_cats = $this->behavior->getCategories(); |
|
171 | + if(!!!$usr_bhvrs) { |
|
172 | + return []; |
|
173 | + } |
|
174 | + if(!!!$all_cats) { |
|
175 | + $all_cats = $this->behavior->getCategories(); |
|
176 | + } |
|
171 | 177 | |
172 | 178 | $usr_bhvrs = array_reduce($usr_bhvrs, function($carry, $bhvr) { |
173 | 179 | $date = $this->time->convertUTCToLocal($bhvr['date']); |
@@ -190,7 +196,9 @@ discard block |
||
190 | 196 | } |
191 | 197 | |
192 | 198 | private function _getCatGrades($picked, $all_cats = null) { |
193 | - if(!!!$all_cats) $all_cats = $this->behavior->getCategories(); |
|
199 | + if(!!!$all_cats) { |
|
200 | + $all_cats = $this->behavior->getCategories(); |
|
201 | + } |
|
194 | 202 | |
195 | 203 | return array_reduce($all_cats, function($carry, $cat) use($picked) { |
196 | 204 | if(array_key_exists($cat['category_id'], $picked)) { |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | ->groupBy('date, user_id') |
86 | 86 | ->having('user_id = :user_id'); |
87 | 87 | $temp_dates = $query->all(); |
88 | - foreach($temp_dates as $temp_date) { |
|
88 | + foreach ($temp_dates as $temp_date) { |
|
89 | 89 | $past_checkin_dates[] = $this->time->convertUTCToLocal($temp_date['date']); |
90 | 90 | } |
91 | 91 | |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | |
115 | 115 | public function getDailyScore($date = null) { |
116 | 116 | // default to today's score |
117 | - if(is_null($date)) $date = $this->time->getLocalDate(); |
|
117 | + if (is_null($date)) $date = $this->time->getLocalDate(); |
|
118 | 118 | |
119 | 119 | list($start, $end) = $this->time->getUTCBookends($date); |
120 | 120 | $score = $this->calculateScoreByUTCRange($start, $end); |
@@ -147,9 +147,9 @@ discard block |
||
147 | 147 | } |
148 | 148 | |
149 | 149 | public function calculateScoresOfLastMonth() { |
150 | - $key = "scores_of_last_month_".Yii::$app->user->id."_".$this->time->getLocalDate(); |
|
150 | + $key = "scores_of_last_month_" . Yii::$app->user->id . "_" . $this->time->getLocalDate(); |
|
151 | 151 | $scores = Yii::$app->cache->get($key); |
152 | - if($scores === false) { |
|
152 | + if ($scores === false) { |
|
153 | 153 | $scores = []; |
154 | 154 | |
155 | 155 | $dt = new DateTime("now", new DateTimeZone("UTC")); |
@@ -166,8 +166,8 @@ discard block |
||
166 | 166 | } |
167 | 167 | |
168 | 168 | public function calculateScore($usr_bhvrs, $all_cats = null) { |
169 | - if(!!!$usr_bhvrs) return []; |
|
170 | - if(!!!$all_cats) $all_cats = $this->behavior->getCategories(); |
|
169 | + if (!!!$usr_bhvrs) return []; |
|
170 | + if (!!!$all_cats) $all_cats = $this->behavior->getCategories(); |
|
171 | 171 | |
172 | 172 | $usr_bhvrs = array_reduce($usr_bhvrs, function($carry, $bhvr) { |
173 | 173 | $date = $this->time->convertUTCToLocal($bhvr['date']); |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | }, []); |
177 | 177 | |
178 | 178 | $scores = []; |
179 | - foreach($usr_bhvrs as $date => $bhvrs) { |
|
179 | + foreach ($usr_bhvrs as $date => $bhvrs) { |
|
180 | 180 | $picked = array_reduce($bhvrs, function($carry, $bhvr) { |
181 | 181 | $carry[$bhvr['category_id']][] = $bhvr['id']; |
182 | 182 | return $carry; |
@@ -190,14 +190,14 @@ discard block |
||
190 | 190 | } |
191 | 191 | |
192 | 192 | private function _getCatGrades($picked, $all_cats = null) { |
193 | - if(!!!$all_cats) $all_cats = $this->behavior->getCategories(); |
|
193 | + if (!!!$all_cats) $all_cats = $this->behavior->getCategories(); |
|
194 | 194 | |
195 | 195 | return array_reduce($all_cats, function($carry, $cat) use($picked) { |
196 | - if(array_key_exists($cat['category_id'], $picked)) { |
|
196 | + if (array_key_exists($cat['category_id'], $picked)) { |
|
197 | 197 | $count = count($picked[$cat['category_id']]); |
198 | - $prcnt_2x = ($count / $cat['behavior_count']) * 2; |
|
198 | + $prcnt_2x = ($count/$cat['behavior_count'])*2; |
|
199 | 199 | // because we're doubling the % we want to ensure we don't take more than 100% |
200 | - $carry[$cat['category_id']] = $cat['weight'] * min($prcnt_2x, 1); |
|
200 | + $carry[$cat['category_id']] = $cat['weight']*min($prcnt_2x, 1); |
|
201 | 201 | } else { |
202 | 202 | $carry[$cat['category_id']] = 0; |
203 | 203 | } |
@@ -221,7 +221,7 @@ discard block |
||
221 | 221 | |
222 | 222 | $arr = array_reduce($behaviors, function($acc, $row) { |
223 | 223 | $cat_id = $row['behavior']['category']['id']; |
224 | - if(array_key_exists($cat_id, $acc)) { |
|
224 | + if (array_key_exists($cat_id, $acc)) { |
|
225 | 225 | $acc[$cat_id]['count'] += $row['count']; |
226 | 226 | } else { |
227 | 227 | $acc[$cat_id] = [ |
@@ -238,10 +238,10 @@ discard block |
||
238 | 238 | } |
239 | 239 | |
240 | 240 | public static function decorate(Array $uo, $with_category = false) { |
241 | - foreach($uo as &$o) { |
|
242 | - if($behavior = \common\models\Behavior::getBehavior('id', $o['behavior_id'])) { |
|
241 | + foreach ($uo as &$o) { |
|
242 | + if ($behavior = \common\models\Behavior::getBehavior('id', $o['behavior_id'])) { |
|
243 | 243 | $o['behavior'] = $behavior; |
244 | - if($with_category) { |
|
244 | + if ($with_category) { |
|
245 | 245 | $o['behavior']['category'] = \common\models\Category::getCategory('id', $o['behavior']['category_id']); |
246 | 246 | } |
247 | 247 | } |
@@ -262,11 +262,11 @@ discard block |
||
262 | 262 | ->having('user_id = :user_id') |
263 | 263 | ->orderBy('count DESC'); |
264 | 264 | |
265 | - if($limit instanceof \DateTime) { |
|
265 | + if ($limit instanceof \DateTime) { |
|
266 | 266 | list($start, $end) = $this->time->getUTCBookends($limit->format('Y-m-d')); |
267 | 267 | $query->params += [':start_date' => $start, ':end_date' => $end]; |
268 | 268 | $query->where('user_id=:user_id AND date > :start_date AND date <= :end_date'); |
269 | - } else if(is_int($limit)) { |
|
269 | + } else if (is_int($limit)) { |
|
270 | 270 | $query->limit($limit); |
271 | 271 | } |
272 | 272 |